Merge "Switch to use a venv by default for testing"

This commit is contained in:
Zuul
2020-01-16 14:03:28 +00:00
committed by Gerrit Code Review
9 changed files with 45 additions and 25 deletions

View File

@@ -14,8 +14,8 @@
- name: set virtualenv_command
set_fact:
venv_command: "{{ hostvars[inventory_hostname].ansible_python.executable }} -m virtualenv"
when: enable_venv|bool
venv_command: "python3 -m venv"
when: enable_venv
- name: "Install {{ package }} package from pip using virtualenv"
pip: