don't check for no_proxy, only http/https_proxy. fix linting issues.

This commit is contained in:
Spencer Smith 2017-10-30 10:45:44 -04:00
parent b27453d8d8
commit 6df104b275

View file

@ -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: