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:
parent
0b02f6593b
commit
78f6f6b889
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue