Skip to content

Commit

Permalink
dont check for old python versions anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
IamLunchbox committed Jun 6, 2024
1 parent f21ea3a commit 8c9bef9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ deps() {
# shellcheck source=/dev/null
source "${workdir}/venv/bin/activate"
python_version="$(python3 -V | cut -d ' ' -f 2 )"
if [[ ${python_version} =~ ^(3\.8\.[0-9]+)$ ]]; then
pip3 install ansible
elif [[ ${python_version} =~ ^(3\.(9|10|11)\.[0-9]+)$ ]]; then
pip3 install ansible
else
exit 4
fi
pip3 install ansible
ansible-galaxy collection install community.general ansible.posix
}

Expand Down

0 comments on commit 8c9bef9

Please sign in to comment.