xoxys.k3s/molecule/rocky9/converge.yml
Robert Kaussow f9edbc0f2a
All checks were successful
continuous-integration/drone/push Build is passing
feat: allow custom cni setups
2022-10-05 22:54:36 +02:00

24 lines
773 B
YAML

---
- name: Converge
hosts: all
vars:
k3s_reset: False
k3s_packages_extra:
- container-selinux
- selinux-policy-base
- https://github.com/k3s-io/k3s-selinux/releases/download/v1.2.stable.2/k3s-selinux-1.2-2.el8.noarch.rpm
k3s_server_flannel_backend_enabled: False
k3s_server_network_policy_enabled: False
k3s_server_manifests_templates:
- "calico-installation.yaml.j2"
k3s_server_manifests_urls:
- url: https://docs.projectcalico.org/archive/v3.24/manifests/tigera-operator.yaml
dest: tigera-operator.yaml
k3s_init_log_enabled: True
pre_tasks:
- name: Override host variables
ansible.builtin.set_fact:
k3s_node_ip: "{{ ansible_default_ipv4.address }}"
roles:
- role: xoxys.k3s