Skip to content

Commit

Permalink
fixed broken when statement for Deploy metallb manifest task (#513)
Browse files Browse the repository at this point in the history
Co-authored-by: Techno Tim <[email protected]>
  • Loading branch information
Rina-Y and timothystewart6 committed Jun 3, 2024
1 parent 2f46a54 commit 072f1a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/k3s_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion roles/k3s_server_post/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 072f1a3

Please sign in to comment.