mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 02:30:03 -03:30
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
@@ -55,7 +55,7 @@
|
||||
no_log: true
|
||||
|
||||
- debug: var=agents.content|from_json
|
||||
failed_when: not agents|success and not agents.content=='{}'
|
||||
failed_when: not agents is success and not agents.content=='{}'
|
||||
run_once: true
|
||||
|
||||
- name: Check netchecker status
|
||||
@@ -70,7 +70,7 @@
|
||||
when: not agents.content=='{}'
|
||||
|
||||
- debug: var=result.content|from_json
|
||||
failed_when: not result|success
|
||||
failed_when: not result is success
|
||||
run_once: true
|
||||
when: not agents.content=='{}'
|
||||
delegate_to: "{{groups['kube-master'][0]}}"
|
||||
|
||||
Reference in New Issue
Block a user