You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
597 B
YAML
22 lines
597 B
YAML
- name: regression/issue_152__virtualenv_python_fails.yml
|
|
any_errors_fatal: true
|
|
hosts: test-targets
|
|
tasks:
|
|
|
|
# Can't use pip module because you can't fricking just create a virtualenv,
|
|
# must call it directly.
|
|
- shell: virtualenv /tmp/issue_152_virtualenv
|
|
|
|
- custom_python_detect_environment:
|
|
vars:
|
|
ansible_python_interpreter: /tmp/issue_152_virtualenv/bin/python
|
|
register: out
|
|
|
|
- assert:
|
|
that:
|
|
- out.sys_executable == "/tmp/issue_152_virtualenv/bin/python"
|
|
|
|
- file:
|
|
path: /tmp/issue_152_virtualenv
|
|
state: absent
|