Add timeout to Get current version of calico cluster version, again (#6493)
This commit is contained in:
parent
ca66a96d0a
commit
6e2b8a5750
2 changed files with 4 additions and 0 deletions
|
@ -163,6 +163,8 @@
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
register: calico_version_on_server
|
register: calico_version_on_server
|
||||||
|
async: 10
|
||||||
|
poll: 3
|
||||||
run_once: yes
|
run_once: yes
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
|
@ -40,6 +40,8 @@
|
||||||
- name: "Get current version of calico cluster version" # noqa 306
|
- name: "Get current version of calico cluster version" # noqa 306
|
||||||
shell: "{{ bin_dir }}/calicoctl.sh version | grep 'Cluster Version:' | awk '{ print $3}'"
|
shell: "{{ bin_dir }}/calicoctl.sh version | grep 'Cluster Version:' | awk '{ print $3}'"
|
||||||
register: calico_version_on_server
|
register: calico_version_on_server
|
||||||
|
async: 10
|
||||||
|
poll: 3
|
||||||
run_once: yes
|
run_once: yes
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue