Merge pull request #2772 from cruwe/cjr-correct-perms-on-kubeconfig
make admin.conf -> .kube/config non-executablepull/1897/merge
commit
1be399ab7b
|
@ -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
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
content: "{{ item.content | b64decode }}"
|
content: "{{ item.content | b64decode }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0700
|
mode: 0600
|
||||||
no_log: true
|
no_log: true
|
||||||
register: copy_kubeadm_certs
|
register: copy_kubeadm_certs
|
||||||
with_items: "{{ kubeadm_certs.results }}"
|
with_items: "{{ kubeadm_certs.results }}"
|
||||||
|
|
Loading…
Reference in New Issue