mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
9913c3e90f
3 changed files with 18 additions and 4 deletions
|
@ -71,7 +71,7 @@
|
|||
args:
|
||||
warn: false
|
||||
|
||||
- name: Add mongodb repo for Debian 10 (only amd64 support available)
|
||||
- name: Use mongodb-org's Debian buster repo for Debian 10 (only amd64 support available)
|
||||
apt_repository:
|
||||
repo: deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main
|
||||
state: present
|
||||
|
@ -79,19 +79,26 @@
|
|||
when: is_debian_10 and (ansible_architecture == "x86_64")
|
||||
|
||||
# Debian 10 aarch64 might work below but is blocked in main.yml
|
||||
- name: Add mongodb repo for RaspOS-aarch64
|
||||
- name: Use mongodb-org's Ubuntu bionic repo for RaspOS-aarch64
|
||||
apt_repository:
|
||||
repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse
|
||||
state: present
|
||||
filename: mongodb-org
|
||||
when: (ansible_architecture == "aarch64" and is_raspbian_10)
|
||||
|
||||
- name: Add mongodb repo for Ubuntu 64bit only
|
||||
- name: Use mongodb-org's Ubuntu focal repo for Mint 20 - 64bit only
|
||||
apt_repository:
|
||||
repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse
|
||||
state: present
|
||||
filename: mongodb-org
|
||||
when: is_mint_20
|
||||
|
||||
- name: Use mongodb-org's Ubuntu repo for Ubuntu all - 64bit only
|
||||
apt_repository:
|
||||
repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu {{ ansible_distribution_release }}/mongodb-org/4.4 multiverse
|
||||
state: present
|
||||
filename: mongodb-org
|
||||
when: is_ubuntu
|
||||
when: is_ubuntu and not is_mint
|
||||
|
||||
- name: "Install packages: mongodb-org, mongodb-org-server"
|
||||
package:
|
||||
|
|
|
@ -704,6 +704,10 @@ is_ubuntu_18: False
|
|||
is_ubuntu_17: False
|
||||
is_ubuntu_16: False
|
||||
|
||||
is_mint: False # subset of is_ubuntu
|
||||
is_mint_20: False
|
||||
|
||||
|
||||
is_debian: False # Covers both: Debian, Raspbian (Raspberry Pi OS)
|
||||
is_debian_10: False
|
||||
is_debian_9: False
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
is_debuntu: True
|
||||
is_ubuntu: True
|
||||
is_ubuntu_20: True
|
||||
is_mint: True
|
||||
is_mint_20: True
|
||||
|
||||
|
||||
# 2019-03-23: These apply if-only-if named_install and/or dhcpd_install are True
|
||||
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
|
||||
|
|
Loading…
Add table
Reference in a new issue