From 6df104b275b170c270ce63da2a1ac0e00a9dbc76 Mon Sep 17 00:00:00 2001
From: Spencer Smith <robertspencersmith@gmail.com>
Date: Mon, 30 Oct 2017 10:45:44 -0400
Subject: [PATCH] don't check for no_proxy, only http/https_proxy. fix linting
 issues.

---
 roles/vault/tasks/cluster/systemd.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/vault/tasks/cluster/systemd.yml b/roles/vault/tasks/cluster/systemd.yml
index e5334637c..8df52f982 100644
--- a/roles/vault/tasks/cluster/systemd.yml
+++ b/roles/vault/tasks/cluster/systemd.yml
@@ -30,7 +30,7 @@
 
 - name: Create vault service systemd directory
   file:
-    path: /etc/systemd/system/vault.service.d 
+    path: /etc/systemd/system/vault.service.d
     state: directory
 
 - name: cluster/systemd | Add vault proxy env vars
@@ -38,7 +38,7 @@
     src: "http-proxy.conf.j2"
     dest: /etc/systemd/system/vault.service.d/http-proxy.conf
     backup: yes
-  when: http_proxy is defined or https_proxy is defined or no_proxy is defined
+  when: http_proxy is defined or https_proxy is defined
 
 - name: cluster/systemd | Enable vault.service
   systemd:
-- 
GitLab