Fix abort because calicoctl.sh is not a full path (#9217)

This commit is contained in:
tasekida 2022-08-31 00:07:02 +09:00 committed by GitHub
parent 1baabb3c05
commit 220f149299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,7 @@
delegate_to: "{{ groups['kube_control_plane'][0] }}" delegate_to: "{{ groups['kube_control_plane'][0] }}"
- name: "Get Calico {{ calico_pool_name }} configuration" - 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 failed_when: False
changed_when: False changed_when: False
check_mode: no check_mode: no