copy kubeconfig
This commit is contained in:
parent
11d0273ac1
commit
369aed9ea1
@ -1,5 +1,6 @@
|
|||||||
project_terraform: "/home/valentin/terraform"
|
project_terraform: "/home/valentin/terraform"
|
||||||
project_backend: "/home/valentin/k8s_backend"
|
project_backend: "/home/valentin/k8s_backend"
|
||||||
|
project_kubeconfig: "/home/valentin/.kube/config"
|
||||||
region_k8s: "fr-par"
|
region_k8s: "fr-par"
|
||||||
project_name_tf: "terraform-test"
|
project_name_tf: "terraform-test"
|
||||||
quarkus_project: "covas-quarkus"
|
quarkus_project: "covas-quarkus"
|
||||||
|
@ -19,3 +19,7 @@
|
|||||||
when: item.name == "{{ project_name_tf }}"
|
when: item.name == "{{ project_name_tf }}"
|
||||||
with_items: "{{ (output.content |from_json).clusters }}"
|
with_items: "{{ (output.content |from_json).clusters }}"
|
||||||
|
|
||||||
|
- name: Copy kubeconfig
|
||||||
|
copy:
|
||||||
|
src: "{{ project_terraform }}/kubeconfig"
|
||||||
|
dest: "{{ project_kubeconfig }}"
|
Loading…
x
Reference in New Issue
Block a user