Fix check for directory
This commit is contained in:
parent
9caf4fb4c2
commit
56311883e1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ else
|
||||||
echo "python3 found: $py3cmd"
|
echo "python3 found: $py3cmd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -x "$HOME/opt/ansible/bin/ansible-playbook" ]; then
|
if [ ! -d "$install_path" ]; then
|
||||||
python3 -m venv "$install_path" || exit 1
|
python3 -m venv "$install_path" || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue