mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
mongodb/tasks/install.yml: buster -> bullseye on Debian x86_64
This commit is contained in:
parent
40db09c97f
commit
3aae53e693
1 changed files with 5 additions and 2 deletions
|
@ -83,17 +83,20 @@
|
||||||
args:
|
args:
|
||||||
warn: false
|
warn: false
|
||||||
|
|
||||||
- name: Install mongodb-org's Debian buster source/repo (we only use x86_64 i.e. arm64) for MongoDB version {{ mongodb_64bit_version }}
|
- name: Install mongodb-org's Debian bullseye source/repo (we only use x86_64 i.e. arm64) for MongoDB version {{ mongodb_64bit_version }}
|
||||||
apt_repository:
|
apt_repository:
|
||||||
# 2020-10-28 and 2022-06-09: https://repo.mongodb.org/apt/debian/dists/
|
# 2020-10-28 and 2022-06-09: https://repo.mongodb.org/apt/debian/dists/
|
||||||
# supports only {Buster 10, Stretch 9, Jessie 8, Wheezy 7}. So Bullseye
|
# supports only {Buster 10, Stretch 9, Jessie 8, Wheezy 7}. So Bullseye
|
||||||
# 11 and Bookworm 12 (testing branch) revert to buster for now:
|
# 11 and Bookworm 12 (testing branch) revert to buster for now:
|
||||||
repo: deb https://repo.mongodb.org/apt/debian buster/mongodb-org/{{ mongodb_64bit_version }} main
|
# 2022-09-27: Changed from 'buster' to 'bullseye' (i.e. Debian 11) as
|
||||||
|
# this was recently added to https://repo.mongodb.org/apt/debian/dists/
|
||||||
|
repo: deb https://repo.mongodb.org/apt/debian bullseye/mongodb-org/{{ mongodb_64bit_version }} main
|
||||||
#repo: deb https://repo.mongodb.org/apt/debian {{ ansible_distribution_release }}/mongodb-org/4.4 main
|
#repo: deb https://repo.mongodb.org/apt/debian {{ ansible_distribution_release }}/mongodb-org/4.4 main
|
||||||
state: present
|
state: present
|
||||||
filename: mongodb-org
|
filename: mongodb-org
|
||||||
when: is_debian and ansible_architecture == "x86_64"
|
when: is_debian and ansible_architecture == "x86_64"
|
||||||
|
|
||||||
|
# 2022-09-27: Soon to change from 'focal' to 'jammy'
|
||||||
- name: Otherwise install mongodb-org's Ubuntu focal source/repo [ arch=amd64,arm64 ] for MongoDB version {{ mongodb_64bit_version }}
|
- name: Otherwise install mongodb-org's Ubuntu focal source/repo [ arch=amd64,arm64 ] for MongoDB version {{ mongodb_64bit_version }}
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/{{ mongodb_64bit_version }} multiverse
|
repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/{{ mongodb_64bit_version }} multiverse
|
||||||
|
|
Loading…
Reference in a new issue