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".
This commit is contained in:
andreyshestakov 2019-04-16 19:31:11 +03:00 committed by Kubernetes Prow Robot
parent 0b02f6593b
commit 78f6f6b889

View file

@ -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', '>=')