Skip to content

Commit

Permalink
Install ansible with pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
framctr committed Sep 14, 2024
1 parent 4cd1941 commit fdf8d38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ansible/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ set -e
# of the script
ensure_nanolayer nanolayer_location "v0.5.0"

$nanolayer_location install apt-get pip,python3-dev
$nanolayer_location install apt-get pipx,python3-dev

if [ "$VERSION" != "latest" ] ; then
pip install "${PACKAGE}"=="${VERSION}"
pipx install "${PACKAGE}"=="${VERSION}"
else
pip install "$PACKAGE"
pipx install "$PACKAGE"
fi

echo 'Done!'

0 comments on commit fdf8d38

Please sign in to comment.