mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/ansible: Install cryptography==41.0.3 if dpkg arch armhf
This commit is contained in:
parent
2b6244e5d8
commit
488e2fbe0d
1 changed files with 8 additions and 8 deletions
|
@ -250,14 +250,14 @@ EOF
|
|||
# 2023-09-07: Commenting out cryptography 40.0.1 below, as @EMG70 evaluates
|
||||
# new upstream piwheels fix (e.g. cryptography 41.0.3 for now)
|
||||
# on pre-release 32-bit RasPiOS 12... (#3526)
|
||||
# if [[ $(dpkg --print-architecture) == armhf ]]; then # 32-bit ARM
|
||||
# /usr/local/ansible/bin/python3 -m pip install cryptography==40.0.1
|
||||
# # else
|
||||
# # 2023-08-10: 'apt install rustc pkg-config libssl-dev' was not enough!
|
||||
# # So we use apt to install cryptography 38.0.4 for Debian 12.1 -- where
|
||||
# # `dpkg --print-architecture` was i386 and `uname -m` was i686:
|
||||
# # $APT_PATH/apt -y install python3-cryptography
|
||||
# fi
|
||||
if [[ $(dpkg --print-architecture) == armhf ]]; then # 32-bit ARM
|
||||
/usr/local/ansible/bin/python3 -m pip install cryptography==41.0.3 # 2023-09-30: 41.0.4 fails for now, see #3650
|
||||
# else
|
||||
# 2023-08-10: 'apt install rustc pkg-config libssl-dev' was not enough!
|
||||
# So we use apt to install cryptography 38.0.4 for Debian 12.1 -- where
|
||||
# `dpkg --print-architecture` was i386 and `uname -m` was i686:
|
||||
# $APT_PATH/apt -y install python3-cryptography
|
||||
fi
|
||||
|
||||
# 2023-05-22: 2.14.6 was better than 2.15.0 for FreePBX (#3588, ansible/ansible#80863)
|
||||
/usr/local/ansible/bin/python3 -m pip install --upgrade ansible-core
|
||||
|
|
Loading…
Add table
Reference in a new issue