* Add Cilium CNI option * Tweak version checks and add BGP resource verify * Update metallb detection for kube-vip feat compat
21 lines
495 B
YAML
21 lines
495 B
YAML
---
|
|
- name: Deploy calico
|
|
include_tasks: calico.yml
|
|
tags: calico
|
|
when: calico_iface is defined and cilium_iface is not defined
|
|
|
|
- name: Deploy cilium
|
|
include_tasks: cilium.yml
|
|
tags: cilium
|
|
when: cilium_iface is defined
|
|
|
|
- name: Deploy metallb pool
|
|
include_tasks: metallb.yml
|
|
tags: metallb
|
|
when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined)
|
|
|
|
- name: Remove tmp directory used for manifests
|
|
file:
|
|
path: /tmp/k3s
|
|
state: absent
|