mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 02:30:03 -03:30
don't check for no_proxy, only http/https_proxy. fix linting issues.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user