copy kubeconfig

This commit is contained in:
2022-12-10 20:30:25 +01:00
parent 11d0273ac1
commit 369aed9ea1
2 changed files with 6 additions and 1 deletions

View File

@@ -18,4 +18,8 @@
X-Auth-Token: "{{ scw_secret_key }}"
when: item.name == "{{ project_name_tf }}"
with_items: "{{ (output.content |from_json).clusters }}"
- name: Copy kubeconfig
copy:
src: "{{ project_terraform }}/kubeconfig"
dest: "{{ project_kubeconfig }}"