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:
parent
f1b18d30f1
commit
d7f8076294
@ -42,7 +42,7 @@
|
|||||||
force: "yes"
|
force: "yes"
|
||||||
validate_certs: "{{ pip_validate_certs }}"
|
validate_certs: "{{ pip_validate_certs }}"
|
||||||
register: get_pip
|
register: get_pip
|
||||||
until: get_pip | success
|
until: get_pip is success
|
||||||
failed_when: false
|
failed_when: false
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
@ -54,10 +54,10 @@
|
|||||||
force: "yes"
|
force: "yes"
|
||||||
validate_certs: "{{ pip_validate_certs }}"
|
validate_certs: "{{ pip_validate_certs }}"
|
||||||
when:
|
when:
|
||||||
- get_pip | failed
|
- get_pip is failed
|
||||||
- pip_fallback_url is defined
|
- pip_fallback_url is defined
|
||||||
register: get_pip_fallback
|
register: get_pip_fallback
|
||||||
until: get_pip_fallback | success
|
until: get_pip_fallback is success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user