Browse Source

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
changes/87/712587/1
Ian Wienand 1 year ago
parent
commit
7974a61f83
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/test-matrix/tasks/main.yaml

+ 1
- 1
roles/test-matrix/tasks/main.yaml View File

@ -13,7 +13,7 @@
fail:
msg: "Please ensure virtualenv is available!"
when:
- virtualenv_available | failed
- virtualenv_available.rc != 0
- ansible_os_family != 'Darwin'
- name: Install PyYAML to parse the test matrix


Loading…
Cancel
Save