fix(metal): use correct permission for kube config file

This commit is contained in:
Khue Doan 2021-11-16 11:18:48 +07:00
parent 7ab581fc6a
commit dccdb9a494

View File

@ -68,4 +68,5 @@
copy:
content: "{{ kubeconfig_base64.content | b64decode | replace('127.0.0.1', hostvars[groups['masters'][0]].ansible_host) }}"
dest: "{{ playbook_dir }}/kubeconfig.yaml"
mode: 0600
delegate_to: localhost