From 78067a5b44abb25182128e767a47762c185ba739 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Mar 2021 01:23:17 +0200 Subject: [PATCH] add mongo --- .../mongodb-org-shell/mongodb-org-shell.yml | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 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 1d60bc0..ae39e2d 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,23 +7,23 @@ tasks: - # ------------------------ - # cp update file mongo keys - # ------------------------- - - name: cp mongo update file - become: true - copy: - src: "./files/mongo-update.sh" - dest: /project/mongo-update.sh - owner: docker - group: docker - mode: 0755 - -# - name: apt mongo key +# # ------------------------ +# # cp update file mongo keys +# # ------------------------- +# - name: cp mongo update file # become: true -# apt_key: -# id: 6494C6D6997C215E -# keyserver: keyserver.ubuntu.com +# copy: +# src: "./files/mongo-update.sh" +# dest: /project/mongo-update.sh +# owner: docker +# group: docker +# mode: 0755 + + - name: apt mongo key + become: true + apt_key: + id: 68980A0EA10B4DE8 + keyserver: keyserver.ubuntu.com - name: apt mongo repo become: true @@ -31,11 +31,11 @@ repo: deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse state: present - # ------------------------ - # start update.sh - # ------------------------- - - name: start mongo update file - shell: /project/mongo-update.sh +# # ------------------------ +# # start update.sh +# # ------------------------- +# - name: start mongo update file +# shell: /project/mongo-update.sh # ------------------------ # apt update