This commit is contained in:
DeveloperDurp 2026-02-11 05:24:28 -06:00
parent 544414013a
commit 4576831ec7
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
- name: ansible copy file from remote to local.
fetch:
src: /home/administrator/.kube/config
dest: "./"
flat: yes
dest: "{{ playbook_dir }}/kubeconfig"
flat: true
when: ansible_hostname == groups[master_group][0]