lefos 3 years ago
parent
commit
157af507a2
  1. 4
      mongo.yml

4
mongo.yml

@ -45,7 +45,9 @@
apt:
name: gnupg
- name: Import the public key used by the package management system
command: wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
apt_key:
url: https://www.mongodb.org/static/pgp/server-4.4.asc
state: present
- name: Create a list file for mongodb
command: echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
update_cache: yes

Loading…
Cancel
Save