From 56d428ede0ffaa21c0edb3e504bffc5b5d1e7904 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Jun 2022 16:22:32 -0400 Subject: [PATCH] mongodb/tasks/install.yml: Clean comments & spacing --- roles/mongodb/tasks/install.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/roles/mongodb/tasks/install.yml b/roles/mongodb/tasks/install.yml index fa5f94ac7..e9ff59322 100644 --- a/roles/mongodb/tasks/install.yml +++ b/roles/mongodb/tasks/install.yml @@ -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 }}'