You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
350 B

  1. ---
  2. - name: Make sure the users directory exits
  3. file:
  4. path: "{{ kube_users_dir }}"
  5. state: directory
  6. mode: o-rwx
  7. group: "{{ kube_cert_group }}"
  8. - name: Populate users for basic auth in API
  9. template:
  10. src: known_users.csv.j2
  11. dest: "{{ kube_users_dir }}/known_users.csv"
  12. backup: yes
  13. notify: Master | set secret_changed