1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Revert jammy to focal for MongoDB 5.0.5 collateral on arm64/aarch64

This commit is contained in:
root 2023-02-24 16:30:47 -05:00
parent 79917e22c2
commit 7fc222d495
3 changed files with 31 additions and 17 deletions

View file

@ -20,7 +20,18 @@
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
mongodb_64bit_version: 6.0 # 2022-10-23: 4.4 fails on Debian 12 x86_64:
mongodb_arch_dict:
armv6l: unsupported # WAS: 3.0
armv7l: unsupported # WAS: 3.0
aarch64: 5.0
i386: unsupported
x86_64: 6.0
mongodb_version: "{{ mongodb_arch_dict[ansible_machine] | default('unknown') }}" # A bit safer than ansible_architecture (see kiwix/defaults/main.yml)
#mongodb_arm64_version: 5.0 # 2023-02-24: MongoDB 6.0.4 fails to install on
# # 64-bit RasPiOS 11, as it doesn't offer libssl3.
#mongodb_amd64_version: 6.0 # 2022-10-23: 4.4 fails on Debian 12 x86_64:
# "No package matching 'mongodb-org' is available". 5.0+ fail on "pre-2011"
# CPU's w/o AVX, and on RPi due to MongoDB compiling these for v8.2-A (RPi 4 is
# ARM v8-A). SO IIAB ALWAYS OVERLAYS andyfelong.com's 5.0.5 IF 5.0+ SPECIFIED.