fix copy kubeconfig files

This commit is contained in:
Valentin CZERYBA 2022-12-10 20:14:13 +01:00
parent 4eee20f63f
commit 11d0273ac1
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@
- name: Copy backend k8s yaml
template:
src: "{{ item }}.tf.j2"
src: "{{ item }}.yaml.j2"
dest: "{{ project_backend }}/{{ item }}.yaml"
with_items: "{{ backend_yaml }}"

View File

@ -10,6 +10,10 @@
import_tasks: kubeconfig.yml
tags: ["create-cluster", "kubeconfig"]
- name: Deploy a API backend
import_tasks: deploy-backend.yml
tags: ["deploy-api"]
- name: Destroy cluster k8s scaleway via terraform
import_tasks: destroy-cluster.yml
tags: ["destroy-cluster"]