Add timeout to Get current version of calico cluster version, again (#6493)

pull/6573/head
Florian Ruynat 2020-08-21 09:13:51 +02:00 committed by GitHub
parent ca66a96d0a
commit 6e2b8a5750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -163,6 +163,8 @@
args:
executable: /bin/bash
register: calico_version_on_server
async: 10
poll: 3
run_once: yes
changed_when: false
failed_when: false

View File

@ -40,6 +40,8 @@
- name: "Get current version of calico cluster version" # noqa 306
shell: "{{ bin_dir }}/calicoctl.sh version | grep 'Cluster Version:' | awk '{ print $3}'"
register: calico_version_on_server
async: 10
poll: 3
run_once: yes
changed_when: false