From 220f14929904fc3ff53fdb7e5b67063934c886a0 Mon Sep 17 00:00:00 2001 From: tasekida <59004721+tasekida@users.noreply.github.com> Date: Wed, 31 Aug 2022 00:07:02 +0900 Subject: [PATCH] Fix abort because calicoctl.sh is not a full path (#9217) --- roles/network_plugin/calico/tasks/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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