make admin.conf -> .kube/config non-executable

Almost certainly, the .kube/config file (YAML) should not be executable.
This commit is contained in:
Christopher J. Ruwe 2018-05-14 09:29:48 +00:00
parent 63fdfae918
commit 49d106f615

View file

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