Store vault users passwords to credentials dir. Create vault and etcd roles after start vault cluster (#1632)

This commit is contained in:
Maxim Krasilnikov
2017-09-07 23:30:16 +03:00
committed by Matthew Mosesohn
parent fb30f65951
commit e16b57aa05
5 changed files with 15 additions and 9 deletions

View File

@@ -31,7 +31,7 @@
src: known_users.csv.j2
dest: "{{ kube_users_dir }}/known_users.csv"
backup: yes
when: inventory_hostname in "{{ groups['kube-master'] }}" and kube_basic_auth|default(true)
when: inventory_hostname in groups['kube-master'] and kube_basic_auth|default(true)
notify: set secret_changed
#