mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Mint might need static mapping to Ubuntu
This commit is contained in:
parent
701921fa26
commit
1bea516fea
3 changed files with 15 additions and 1 deletions
|
@ -91,7 +91,14 @@
|
|||
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: Add mongodb repo for Mint 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: "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
Add a link
Reference in a new issue