Browse Source

add mongo

master
zeus 4 years ago
parent
commit
d9c273e09e
  1. 24
      install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml

24
install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml

@ -7,18 +7,6 @@
tasks: 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 # cp update file mongo keys
# ------------------------- # -------------------------
@ -31,6 +19,18 @@
group: docker group: docker
mode: 0755 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 # start update.sh
# ------------------------- # -------------------------

Loading…
Cancel
Save