mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
fix/ansible 2.19: calico: no implicit conditionals (#13480)
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
when:
|
||||
- ipv4_stack | bool
|
||||
- calico is defined
|
||||
- calico.rc == 0 and calico.stdout
|
||||
- calico.rc == 0 and calico.stdout != ''
|
||||
run_once: true
|
||||
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
when:
|
||||
- ipv6_stack | bool
|
||||
- calico_ipv6 is defined
|
||||
- calico_ipv6.rc == 0 and calico_ipv6.stdout
|
||||
- calico_ipv6.rc == 0 and calico_ipv6.stdout != ''
|
||||
run_once: true
|
||||
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user