From d9c273e09e9f72b5882752bb2576c9ad7ceae263 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Mar 2021 01:02:01 +0200 Subject: [PATCH] add mongo --- .../mongodb-org-shell/mongodb-org-shell.yml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml b/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml index 7567c65..da1e4e3 100755 --- a/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml +++ b/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml @@ -7,18 +7,6 @@ tasks: - - name: apt mongo key - become: true - apt_key: - id: 6494C6D6997C215E - keyserver: keyserver.ubuntu.com - - - name: apt mongo repo - become: true - apt_repository: - repo: deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse - state: present - # ------------------------ # cp update file mongo keys # ------------------------- @@ -31,6 +19,18 @@ group: docker mode: 0755 + - name: apt mongo key + become: true + apt_key: + id: 6494C6D6997C215E + keyserver: keyserver.ubuntu.com + + - name: apt mongo repo + become: true + apt_repository: + repo: deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse + state: present + # ------------------------ # start update.sh # -------------------------