mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
mongodb - lockout RasPiOS-32bit
This commit is contained in:
parent
130ad7b127
commit
faa4145d65
1 changed files with 10 additions and 10 deletions
|
@ -34,19 +34,19 @@
|
||||||
var: is_debian
|
var: is_debian
|
||||||
- debug:
|
- debug:
|
||||||
var: is_raspbian
|
var: is_raspbian
|
||||||
|
- debug:
|
||||||
# # might be able to lift this once we know using bionic would work
|
var: dpkg_arch
|
||||||
# - name: EXIT 'mongodb' ROLE & CONTINUE, IF 'is_debian_10 and aarch64 and not is_raspbian' i.e. TRUE DEBIAN with arch64
|
- debug:
|
||||||
# fail: # FORCE IT RED THIS ONCE!
|
var: mongodb_version
|
||||||
# msg: ATTEMPTED MongoDB INSTALLATION WITH (TRUE) DEBIAN aarch64, which is not supported upstream. Nevertheless IIAB will continue (consider this a warning!)
|
|
||||||
# when: (ansible_architecture == "aarch64") and is_debian_10 and not is_raspbian
|
|
||||||
# ignore_errors: yes
|
|
||||||
|
|
||||||
# ELSE...
|
|
||||||
|
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
|
|
||||||
|
- name: EXIT 'mongodb' ROLE & CONTINUE, when 32bit RasPiOS is in use or 'unsupported'
|
||||||
|
fail: # FORCE IT RED THIS ONCE!
|
||||||
|
msg: ATTEMPTED MongoDB INSTALLATION WITH 32bit RasPiOS, which is not supported upstream. Nevertheless IIAB will continue (consider this a warning!)
|
||||||
|
when: (mongodb_version == "unsupported") or (dpkg_arch == "armhf")
|
||||||
|
|
||||||
|
# ELSE...
|
||||||
- name: Install MongoDB if 'mongodb_installed' not defined, e.g. in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
|
- name: Install MongoDB if 'mongodb_installed' not defined, e.g. in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
|
||||||
include_tasks: install.yml
|
include_tasks: install.yml
|
||||||
when: mongodb_installed is undefined
|
when: mongodb_installed is undefined
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue