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:
Erwan Miran
2018-10-17 00:33:30 +02:00
committed by k8s-ci-robot
parent bfd4ccbeaa
commit 7bec169d58
75 changed files with 153 additions and 153 deletions

View File

@@ -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]}}"