fixed broken when statement for Deploy metallb manifest task

This commit is contained in:
Rina
2024-05-14 11:35:53 -08:00
parent d6597150c7
commit 1bd3ee90f6
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@
- name: Deploy metallb manifest
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)
when: kube_vip_lb_ip_range is not defined and (cilium_bgp is not defined or cilium_iface is not defined)
- name: Deploy kube-vip manifest
include_tasks: kube-vip.yml

View File

@@ -12,7 +12,7 @@
- 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)
when: kube_vip_lb_ip_range is not defined and (cilium_bgp is not defined or cilium_iface is not defined)
- name: Remove tmp directory used for manifests
file: