Browse Source

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

pull/1891/head
Spencer Smith 7 years ago
parent
commit
6df104b275
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/vault/tasks/cluster/systemd.yml

4
roles/vault/tasks/cluster/systemd.yml

@ -30,7 +30,7 @@
- name: Create vault service systemd directory - name: Create vault service systemd directory
file: file:
path: /etc/systemd/system/vault.service.d
path: /etc/systemd/system/vault.service.d
state: directory state: directory
- name: cluster/systemd | Add vault proxy env vars - name: cluster/systemd | Add vault proxy env vars
@ -38,7 +38,7 @@
src: "http-proxy.conf.j2" src: "http-proxy.conf.j2"
dest: /etc/systemd/system/vault.service.d/http-proxy.conf dest: /etc/systemd/system/vault.service.d/http-proxy.conf
backup: yes 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 - name: cluster/systemd | Enable vault.service
systemd: systemd:

Loading…
Cancel
Save