2017-09-13 18:00:51 +00:00
|
|
|
---
|
|
|
|
- name: Make sure the users directory exits
|
|
|
|
file:
|
|
|
|
path: "{{ kube_users_dir }}"
|
|
|
|
state: directory
|
|
|
|
mode: o-rwx
|
|
|
|
group: "{{ kube_cert_group }}"
|
|
|
|
|
|
|
|
- name: Populate users for basic auth in API
|
|
|
|
template:
|
|
|
|
src: known_users.csv.j2
|
|
|
|
dest: "{{ kube_users_dir }}/known_users.csv"
|
2018-02-21 20:13:46 +00:00
|
|
|
mode: 0640
|
2017-09-13 18:00:51 +00:00
|
|
|
backup: yes
|