mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	mongodb/tasks/install.yml: Comments more future-proof
This commit is contained in:
		
							parent
							
								
									8f4024a0e4
								
							
						
					
					
						commit
						0b23bd3ab5
					
				
					 1 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,5 @@
 | 
			
		|||
# MongoDB Install Docs:
 | 
			
		||||
# https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931/90
 | 
			
		||||
# https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/
 | 
			
		||||
# https://www.mongodb.com/docs/manual/installation/
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -78,6 +79,7 @@
 | 
			
		|||
 | 
			
		||||
- block:
 | 
			
		||||
  - name: Add mongodb.org signing key (only 64-bit support available) for MongoDB version {{ mongodb_64bit_version }}
 | 
			
		||||
    # https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931/90
 | 
			
		||||
    shell: wget -qO - https://www.mongodb.org/static/pgp/server-{{ mongodb_64bit_version }}.asc | gpg --dearmor > /usr/share/keyrings/mongodb.gpg
 | 
			
		||||
    #shell: wget -qO - https://www.mongodb.org/static/pgp/server-{{ mongodb_64bit_version }}.asc | apt-key add -
 | 
			
		||||
    #shell: wget -qO - https://pgp.mongodb.com/server-{{ mongodb_64bit_version }}.asc | apt-key add -
 | 
			
		||||
| 
						 | 
				
			
			@ -90,7 +92,7 @@
 | 
			
		|||
 | 
			
		||||
  # 2023-01-19: MongoDB only offers x86_64 for Debian, AND IN ANY CASE all their
 | 
			
		||||
  # MongoDB 6.0's are ONLY COMPILED FOR ARM v8.2-A i.e. FAIL ON ARM v8-A RPi 4,
 | 
			
		||||
  # LIKE THEIR MongoDB 5.0 tested 2022-06-07 ~120 lines below.
 | 
			
		||||
  # LIKE THEIR MongoDB 5.0 tested 2022-06-07 ~134 lines below.
 | 
			
		||||
  # -> DELETE THIS STANZA AFTER DEBIAN 12 IS SOLID -- USING UBUNTU REPO BELOW ?
 | 
			
		||||
  - name: Install mongodb-org's Debian bullseye source/repo [ arch=amd64 ] for MongoDB version {{ mongodb_64bit_version }}, if x86_64 Debian < 12
 | 
			
		||||
    apt_repository:
 | 
			
		||||
| 
						 | 
				
			
			@ -106,9 +108,12 @@
 | 
			
		|||
    when: is_debian and os_ver is version('debian-12', '<') and ansible_architecture == "x86_64"
 | 
			
		||||
    #when: is_debian and ansible_architecture == "x86_64"
 | 
			
		||||
 | 
			
		||||
  # 2022-01-19: 64-bit RasPiOS likely not supported for now, as MongoDB 6.0's
 | 
			
		||||
  # ONLY COMPILED FOR ARM v8.2-A i.e. FAIL ON ARM v8-A RPi 4, JUST LIKE THEIR
 | 
			
		||||
  # MongoDB 5.0 (tested 2022-06-07 ~120 lines below).
 | 
			
		||||
  # 2022-01-19: Tested on x86_64 VM's with Ubuntu 22.04 & Debian 12.  Based on
 | 
			
		||||
  # MongoDB 6.0.3 (released 2022-11-15) instructions here:
 | 
			
		||||
  # https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931/90
 | 
			
		||||
  # WHEREAS 64-bit Raspberry Pi is likely NOT supported for now, as MongoDB 6.0
 | 
			
		||||
  # IS ONLY COMPILED FOR ARM v8.2-A i.e. FAIL ON ARM v8-A RPi 4 (JUST LIKE THEIR
 | 
			
		||||
  # MongoDB 5.0, tested 2022-06-07 ~113 lines below).
 | 
			
		||||
  - name: Otherwise, install mongodb-org's Ubuntu jammy source/repo [ arch=amd64,arm64 ] for MongoDB version {{ mongodb_64bit_version }}
 | 
			
		||||
    apt_repository:
 | 
			
		||||
      repo: deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/{{ mongodb_64bit_version }} multiverse
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue