Fix usage of "|" for tests

With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I897b918785c34523688c450bec16661f0f6e496e
This commit is contained in:
Jean-Philippe Evrard 2018-07-12 16:44:21 +02:00
parent f1b18d30f1
commit d7f8076294

View File

@ -42,7 +42,7 @@
force: "yes"
validate_certs: "{{ pip_validate_certs }}"
register: get_pip
until: get_pip | success
until: get_pip is success
failed_when: false
retries: 5
delay: 2
@ -54,10 +54,10 @@
force: "yes"
validate_certs: "{{ pip_validate_certs }}"
when:
- get_pip | failed
- get_pip is failed
- pip_fallback_url is defined
register: get_pip_fallback
until: get_pip_fallback | success
until: get_pip_fallback is success
retries: 5
delay: 2