Skip to content
Snippets Groups Projects
Commit cd153a1f authored by chadswen's avatar chadswen
Browse files

Fix kubernetes cert permission sync

Add `state: directory` to `file` task so that `recurse: yes` will actually take effect and ensure
certs/keys have the right file mode and owner
parent f4476f25
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,7 @@
file:
path: "{{ kube_cert_dir }}"
group: "{{ kube_cert_group }}"
state: directory
owner: kube
mode: "u=rwX,g-rwx,o-rwx"
recurse: yes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment