mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-18 09:27:34 -02:30
improved proxy support
This commit is contained in:
@@ -28,6 +28,18 @@
|
||||
backup: yes
|
||||
register: vault_systemd_placement
|
||||
|
||||
- name: Create vault service systemd directory
|
||||
file:
|
||||
path: /etc/systemd/system/vault.service.d
|
||||
state: directory
|
||||
|
||||
- name: cluster/systemd | Add vault proxy env vars
|
||||
template:
|
||||
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
|
||||
|
||||
- name: cluster/systemd | Enable vault.service
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
Reference in New Issue
Block a user