make admin.conf -> .kube/config non-executable
Almost certainly, the .kube/config file (YAML) should not be executable.
This commit is contained in:
parent
63fdfae918
commit
49d106f615
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue