Browse Source

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

pull/6573/head
Florian Ruynat 4 years ago
committed by GitHub
parent
commit
6e2b8a5750
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions
  1. 2
      roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
  2. 2
      roles/network_plugin/calico/tasks/check.yml

2
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml

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

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

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

Loading…
Cancel
Save