semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

#998 Execute task-template within python-virtual environment and ensu…

Open ccuz opened this issue 3 years ago • 4 comments

…re sensitive environment variable are not passed to ansible-playbook command

ccuz avatar Jul 26 '22 07:07 ccuz

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) grafik.

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

ccuz avatar Jul 26 '22 07:07 ccuz

Hi @ccuz, sorry for delay. I reviewing your PR, thank you!

fiftin avatar Sep 09 '22 20:09 fiftin

It looks very interesting.

fiftin avatar Sep 09 '22 20:09 fiftin

Is there planned support for multiple venvs? It would be a great feature to add

ff-fgomez avatar Mar 04 '23 00:03 ff-fgomez