--- - name: Diun setup block: # - name: Include vars # ansible.builtin.include_vars: "diun-files.yaml" - name: Diun install kubernetes.core.k8s: state: present context: "{{ my_context }}" apply: true namespace: "duin" resource_definition: "{{ lookup('template', item) | from_yaml_all }}" with_items: - diun-RBAC.yml.j2 - diun-ConfigMap.yml.j2 - diun-Deployment.yml.j2 tags: - diun