mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
38977285e1
1 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@
|
|||
|
||||
|
||||
# end block
|
||||
when: not (ansible_architecture == "amd64" or ansible_architecture == "aarch64")
|
||||
when: not (ansible_architecture == "x86_64" or ansible_architecture == "aarch64")
|
||||
# 32 bit OS's get caught above should handle aarch32 including 32-bit ubuntu
|
||||
# from https://ubuntu.com/download/raspberry-pi. 20.4-32bit might fail untested
|
||||
# 32bit intel might puke as this was orginally deployed for raspbian. Haven't
|
||||
|
@ -76,7 +76,7 @@
|
|||
repo: deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main
|
||||
state: present
|
||||
filename: mongodb-org
|
||||
when: is_debian_10 and (ansible_architecture == "amd64")
|
||||
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 Ubuntu 18 64bit or Raspbian-aarch64
|
||||
|
@ -91,7 +91,7 @@
|
|||
repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse
|
||||
state: present
|
||||
filename: mongodb-org
|
||||
when: is_ubuntu_20 and (ansible_architecture == "aarch64" or ansible_architecture == "amd64")
|
||||
when: is_ubuntu_20
|
||||
|
||||
- name: "Install packages: mongodb-org, mongodb-org-server"
|
||||
package:
|
||||
|
@ -108,7 +108,7 @@
|
|||
line: ' port: 27018'
|
||||
|
||||
# end block
|
||||
when: (ansible_architecture == "aarch64") or (ansible_architecture == "amd64")
|
||||
when: (ansible_architecture == "aarch64") or (ansible_architecture == "x86_64")
|
||||
|
||||
|
||||
# 2. CONFIGURE MongoDB FOR IIAB
|
||||
|
|
Loading…
Add table
Reference in a new issue