First push

This commit is contained in:
Adrien Reslinger 2022-02-24 00:09:22 +01:00
parent 1e13511e04
commit 327065a181
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
11 changed files with 226 additions and 0 deletions

22
tasks/main.yml Normal file
View file

@ -0,0 +1,22 @@
---
- name: calico setup
block:
# - name: Include vars
# 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