Update tasks/download_kubeconfig.yml
Changing the config directory path to the variable with this value Co-authored-by: Xan Manning <244186+xanmanning@users.noreply.github.com>
This commit is contained in:
parent
a66ce8d909
commit
fe3dd7078c
|
@ -2,7 +2,7 @@
|
|||
|
||||
- name: Download k3s kubeconfig to localhost
|
||||
ansible.builtin.fetch:
|
||||
src: /etc/rancher/k3s/k3s.yaml
|
||||
src: /{{ k3s_config_dir }}/k3s.yaml
|
||||
dest: "{{ k3s_download_kubeconf_path }}/{{ k3s_download_kubeconf_file_name }}"
|
||||
flat: yes
|
||||
delegate_to: "{{ k3s_control_delegate }}"
|
||||
|
|
Loading…
Reference in New Issue