From 157af507a2d5d1a5f7237c71eb0d60f74d272a99 Mon Sep 17 00:00:00 2001 From: lefos Date: Mon, 1 Nov 2021 01:26:59 +0200 Subject: [PATCH] asd --- mongo.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mongo.yml b/mongo.yml index 6301eee..6c000e2 100644 --- a/mongo.yml +++ b/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