From 9aff8edf505d7fba9cc2ee11a6e6e07c0b5c791d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 27 Jan 2019 04:44:24 +0000 Subject: [PATCH] issue #477: one more conditional test. --- .../regression/issue_152__virtualenv_python_fails.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ansible/regression/issue_152__virtualenv_python_fails.yml b/tests/ansible/regression/issue_152__virtualenv_python_fails.yml index 0234a0ef..85109309 100644 --- a/tests/ansible/regression/issue_152__virtualenv_python_fails.yml +++ b/tests/ansible/regression/issue_152__virtualenv_python_fails.yml @@ -8,20 +8,20 @@ # Can't use pip module because it can't create virtualenvs, must call it # directly. - shell: virtualenv /tmp/issue_152_virtualenv - when: lout.python_version != '2.6' + when: lout.python_version > '2.6' - custom_python_detect_environment: vars: ansible_python_interpreter: /tmp/issue_152_virtualenv/bin/python register: out - when: lout.python_version != '2.6' + when: lout.python_version > '2.6' - assert: that: - out.sys_executable == "/tmp/issue_152_virtualenv/bin/python" - when: lout.python_version != '2.6' + when: lout.python_version > '2.6' - file: path: /tmp/issue_152_virtualenv state: absent - when: lout.python_version != '2.6' + when: lout.python_version > '2.6'