Browse Source

Mark "Calico | Set global as_num" as "unchanged" (#4539)

This command executes with "--skip-exists" parameter, so it is idempotent
and should not be marked as "changed".
pull/4543/head
andreyshestakov 5 years ago
committed by Kubernetes Prow Robot
parent
commit
78f6f6b889
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/network_plugin/calico/tasks/install.yml

1
roles/network_plugin/calico/tasks/install.yml

@ -148,6 +148,7 @@
"asNumber": {{ global_as_num }} }} ' | {{ bin_dir }}/calicoctl.sh create --skip-exists -f -
run_once: true
delegate_to: "{{ groups['kube-master'][0] }}"
changed_when: false
when:
- calico_version is version('v3.0.0', '>=')

Loading…
Cancel
Save