--- # 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: src: "{{ item }}.tf.j2" dest: "{{ project_backend }}/{{ item }}.yaml" with_items: "{{ backend_yaml }}"