Fix virtualenv detection
This checks if the task failed; which it never does because of the failed_when: false. What we want to check is the return value of that check. Change-Id: Ic975b53d60f44e8e743bcc31fc864cc8416b3a92
This commit is contained in:
parent
4985fd75b4
commit
7974a61f83
|
@ -13,7 +13,7 @@
|
||||||
fail:
|
fail:
|
||||||
msg: "Please ensure virtualenv is available!"
|
msg: "Please ensure virtualenv is available!"
|
||||||
when:
|
when:
|
||||||
- virtualenv_available | failed
|
- virtualenv_available.rc != 0
|
||||||
- ansible_os_family != 'Darwin'
|
- ansible_os_family != 'Darwin'
|
||||||
|
|
||||||
- name: Install PyYAML to parse the test matrix
|
- name: Install PyYAML to parse the test matrix
|
||||||
|
|
Loading…
Reference in New Issue