Resolve "use inside virtual env"
Closes #1 (closed)
- Add a CI job to prepare virtual env
- create virtual env
- add a wrapper to be called as a
ansible_python_interpreter
- Add
local_ansible_python_interpreter
- set default value to
auto
- use it for tasks that will be run with
delegate_to
and need to be run locally without venv
- set default value to
- due to usage of facts in path of venv wrapper we need to:
- disable gather_facts
- get minimum facts without wrapper in pretasks
- then load all facts
Edited by David Blaisonneau