diff --git a/roles/network_plugin/calico/tasks/check.yml b/roles/network_plugin/calico/tasks/check.yml index 1fe4440f1..530985f98 100644 --- a/roles/network_plugin/calico/tasks/check.yml +++ b/roles/network_plugin/calico/tasks/check.yml @@ -137,7 +137,7 @@ delegate_to: "{{ groups['kube_control_plane'][0] }}" - name: "Get Calico {{ calico_pool_name }} configuration" - command: calicoctl.sh get ipPool {{ calico_pool_name }} -o json + command: "{{ bin_dir }}/calicoctl.sh get ipPool {{ calico_pool_name }} -o json" failed_when: False changed_when: False check_mode: no