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
This commit is contained in:
chadswen 2018-03-09 00:11:10 -06:00
parent f4476f25bd
commit cd153a1fb3

View file

@ -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