Abort if Python3's venv is not available
This commit is contained in:
parent
d8c5a4bb89
commit
5f19231e01
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -x "$HOME/opt/ansible/bin/ansible-playbook" ]; then
|
if [ ! -x "$HOME/opt/ansible/bin/ansible-playbook" ]; then
|
||||||
python3 -m venv "$HOME/opt/ansible"
|
python3 -m venv "$HOME/opt/ansible" || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd "$HOME/opt/ansible"
|
pushd "$HOME/opt/ansible"
|
||||||
|
|
Loading…
Reference in a new issue