use virtualenv command instead of module
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ system_useradd hpf-ans 800
|
|||||||
add_groups_to_user hpf-sudo-np hpf-ans
|
add_groups_to_user hpf-sudo-np hpf-ans
|
||||||
|
|
||||||
# Make sure .ansible-venv exists
|
# Make sure .ansible-venv exists
|
||||||
as_hpf_ans "if [ ! -d \"${HPF_ANS_ansible_venv}\" ] ; then python3 -m venv \"${HPF_ANS_ansible_venv}\" ; fi"
|
as_hpf_ans "if [ ! -d \"${HPF_ANS_ansible_venv}\" ] ; then virtualenv \"${HPF_ANS_ansible_venv}\" ; fi"
|
||||||
|
|
||||||
# Make sure pip is up to date
|
# Make sure pip is up to date
|
||||||
as_hpf_ans "pip install --upgrade pip"
|
as_hpf_ans "pip install --upgrade pip"
|
||||||
|
|||||||
Reference in New Issue
Block a user