make admin.conf -> .kube/config non-executable
Almost certainly, the .kube/config file (YAML) should not be executable.
This commit is contained in:
@ -40,7 +40,7 @@
|
|||||||
src: "{{ kube_config_dir }}/admin.conf"
|
src: "{{ kube_config_dir }}/admin.conf"
|
||||||
dest: "/root/.kube/config"
|
dest: "/root/.kube/config"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
mode: "0700"
|
mode: "0600"
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|
||||||
- name: Copy admin kubeconfig to ansible host
|
- name: Copy admin kubeconfig to ansible host
|
||||||
|
Reference in New Issue
Block a user