mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
mongodb/tasks/install.yml: Clean comments & spacing
This commit is contained in:
parent
56e5cc48b9
commit
56d428ede0
1 changed files with 6 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
# 1. INSTALL MongoDB PACKAGES OR BINARIES
|
||||
# 1. INSTALL MongoDB PACKAGES AND/OR BINARIES
|
||||
|
||||
# 2019-02-02: Sugarizer with Node.js 10.x requires MongoDB 2.6+ so
|
||||
# https://andyfelong.com/2017/08/mongodb-3-0-14-for-raspbian-stretch/ is
|
||||
|
@ -56,10 +56,10 @@
|
|||
when: not (ansible_architecture == "x86_64" or ansible_architecture == "aarch64")
|
||||
|
||||
# 32-bit OS's are handled above: this should handle aarch32 including 32-bit
|
||||
# Ubuntu from https://ubuntu.com/download/raspberry-pi but Ubuntu 20.04 32-bit
|
||||
# might fail untested, and 32-bit Intel might puke as this was orginally
|
||||
# deployed for Raspbian. (Haven't seen bootable 32-bit Intel installers for a
|
||||
# while now.) 64-bit OS's proceed below.
|
||||
# Ubuntu from https://ubuntu.com/download/raspberry-pi but Ubuntu 20.04+ and
|
||||
# 22.04+ 32-bit might fail untested, and 32-bit Intel might puke as this was
|
||||
# orginally deployed for Raspbian. (Haven't seen bootable 32-bit Intel
|
||||
# installers for a while now.) 64-bit OS's proceed below.
|
||||
|
||||
- block:
|
||||
- name: Add mongodb.org signing key (only 64-bit support available)
|
||||
|
@ -91,7 +91,7 @@
|
|||
# repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse
|
||||
# state: present
|
||||
# filename: mongodb-org
|
||||
# when: is_raspbian and (ansible_architecture == "aarch64")
|
||||
# when: is_raspbian and ansible_architecture == "aarch64"
|
||||
|
||||
# - name: Use mongodb-org's Ubuntu focal repo for Linux Mint - 64bit only
|
||||
# apt_repository:
|
||||
|
@ -167,7 +167,6 @@
|
|||
when: ansible_architecture == "aarch64" or ansible_architecture == "x86_64"
|
||||
|
||||
|
||||
|
||||
# 2. CONFIGURE MongoDB FOR IIAB
|
||||
|
||||
- name: 'Create 3 dirs for MongoDB: /var/lib/mongodb, /var/log/mongodb, {{ mongodb_db_path }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue