1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

scripts/ansible: Desupport Raspberry Pi OS 10

This commit is contained in:
A Holt 2021-11-08 16:47:21 -05:00 committed by GitHub
parent 43833e99b8
commit 8498a43d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,11 +173,7 @@ $APT_PATH/apt -y install python3-pip
# https://github.com/iiab/iiab/pull/3022 # https://github.com/iiab/iiab/pull/3022
pip3 config --global set global.cache-dir false pip3 config --global set global.cache-dir false
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n" echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
if grep -qr buster /etc/apt; then pip3 install --upgrade ansible-core # ansible-core 2.12 (released 2021-11-08) requires Python >= 3.8
pip3 install --upgrade ansible-core==2.11.6 # TEMPORARY support for RasPiOS Buster's Python 3.7
else
pip3 install --upgrade ansible-core # ansible-core 2.12 (ETA 2021-11-08) requires Python >= 3.8
fi
# (Re)running collection installs appears safe, with --force-with-deps to force # (Re)running collection installs appears safe, with --force-with-deps to force
# upgrade of collection and dependencies it pulls in. Note Ansible may support # upgrade of collection and dependencies it pulls in. Note Ansible may support