From 712d13bd482ed65a3461de1bb855e1e10a19fafd Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Wed, 9 Sep 2026 05:20:36 +0000 Subject: [PATCH] fix/ansible 2.19: calico: no implicit conditionals (#13480) --- roles/network_plugin/calico/tasks/check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/network_plugin/calico/tasks/check.yml b/roles/network_plugin/calico/tasks/check.yml index 2d7c5751b..906dac0ba 100644 --- a/roles/network_plugin/calico/tasks/check.yml +++ b/roles/network_plugin/calico/tasks/check.yml @@ -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] }}"