Browse Source

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

pull/9235/head
tasekida 2 years ago
committed by GitHub
parent
commit
220f149299
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/calico/tasks/check.yml

2
roles/network_plugin/calico/tasks/check.yml

@ -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

Loading…
Cancel
Save