1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #2494 from jvonau/mongo2

fix x86_64 [MongoDB]
This commit is contained in:
A Holt 2020-08-27 15:19:56 -04:00 committed by GitHub
commit 38977285e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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