Skip to content

Commit

Permalink
chore(ansible): upgrade version from 5 to 6 (#2834)
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <[email protected]>

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Sep 1, 2022
1 parent cb61198 commit 41229d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ fi

# Install ansible
ansible_version=$(pip3 list | grep -oP "^ansible\s+\K([0-9]+)" || true)
if [ "$ansible_version" != "5" ]; then
if [ "$ansible_version" != "6" ]; then
sudo apt-get -y purge ansible
pip3 install -U "ansible==5.*"
pip3 install -U "ansible==6.*"
fi

# For Python packages installed with user privileges
Expand Down

0 comments on commit 41229d5

Please sign in to comment.