2022-12-10 15:24:35 +01:00
|
|
|
---
|
|
|
|
# tasks file for create cluster k8s via terraform
|
|
|
|
|
|
|
|
- name: Create directory {{ project_terraform }}
|
|
|
|
file:
|
|
|
|
path: "{{ project_backend }}"
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
- name: Copy backend k8s yaml
|
|
|
|
template:
|
2022-12-10 20:14:13 +01:00
|
|
|
src: "{{ item }}.yaml.j2"
|
2022-12-10 15:24:35 +01:00
|
|
|
dest: "{{ project_backend }}/{{ item }}.yaml"
|
|
|
|
with_items: "{{ backend_yaml }}"
|
|
|
|
|
|
|
|
|