#998 Execute task-template within python-virtual environment and ensu…
…re sensitive environment variable are not passed to ansible-playbook command
Based on idea #998 this implementation allow to run the semaphore ansible task within a prepared python virtual environment '.venv' (default naming per convention for python venv)
.
Note: In order to prepare the venv, one still has to use git post-checkout and post-merge hooks https://github.com/ansible-semaphore/semaphore/issues/998#issuecomment-1192731622. This is not covered by any pull-request as it works as is from semaphore git checkout
Hi @ccuz, sorry for delay. I reviewing your PR, thank you!
It looks very interesting.
Is there planned support for multiple venvs? It would be a great feature to add