ansible-role-k8s-diun/tasks/main.yml
Adrien Reslinger 149b4fa54b
Some checks reported errors
continuous-integration/drone Build encountered an error
Fix lint errors
2022-07-22 23:26:24 +02:00

22 lines
541 B
YAML

---
- name: calico setup
block:
# - name: Include vars
# ansible.builtin.include_vars: "diun-files.yaml"
- name: Diun install
kubernetes.core.k8s:
state: present
context: "{{ my_context }}"
merge_type: merge
resource_definition: "{{ lookup('template', item) | from_yaml }}"
with_items:
- diun-ServiceAccount.yml.j2
- diun-ClusterRole.yml.j2
- diun-ClusterRoleBinding.yml.j2
- diun-ConfigMap.yml.j2
- diun-Deployment.yml.j2
tags:
- diun