mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Fix ansible syntax to avoid ansible deprecation warnings (#3512)
* failed * version_compare * succeeded * skipped * success * version_compare becomes version since ansible 2.5 * ansible minimal version updated in doc and spec * last version_compare
This commit is contained in:
committed by
k8s-ci-robot
parent
bfd4ccbeaa
commit
7bec169d58
@@ -63,7 +63,7 @@
|
||||
delay: "{{ retry_stagger | random + 3 }}"
|
||||
delegate_to: "{{groups['etcd'][0]}}"
|
||||
when:
|
||||
- calico_version | version_compare("v3.0.0", ">=")
|
||||
- calico_version is version("v3.0.0", ">=")
|
||||
|
||||
- name: Calico-rr | Configure route reflector (legacy)
|
||||
command: |-
|
||||
@@ -81,7 +81,7 @@
|
||||
delay: "{{ retry_stagger | random + 3 }}"
|
||||
delegate_to: "{{groups['etcd'][0]}}"
|
||||
when:
|
||||
- calico_version | version_compare("v3.0.0", "<")
|
||||
- calico_version is version("v3.0.0", "<")
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user