runbooks-ansible/ansible/roles/k3s/post/tasks/main.yml
2026-02-11 05:18:24 -06:00

6 lines
180 B
YAML

- name: ansible copy file from remote to local.
fetch:
src: /home/administrator/.kube/config
dest: "./"
flat: yes
when: ansible_hostname == groups[master_group][0]