From c9716d3d8ba408fd801c703cbe58405a8edd3332 Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 21 Mar 2021 00:31:28 +0200 Subject: [PATCH] add mongo --- .../project/courses/mongodb-org-shell/mongodb-org-shell.yml | 0 .../courses/mongodb-org-shell/mongodb-org-shell.yml.sh | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml 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 old mode 100644 new mode 100755 diff --git a/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml.sh b/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml.sh index 2887730..2f26eee 100755 --- a/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml.sh +++ b/install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml.sh @@ -22,7 +22,7 @@ echo "[service]" > /project/courses/$YAML/inventory.yml echo $ip4 >> /project/courses/$YAML/inventory.yml -ansible-playbook -u docker -i inventory.yml $YAML -f 5 --ask-pass --ask-become-pass +ansible-playbook -u docker -i inventory.yml $YAML.yml -f 5 --ask-pass --ask-become-pass # 1st make sudo without password # run with keys -#ansible-playbook -u docker -i inventory.yml $YAML -f 5 --private-key=/home/docker/.ssh/id_rsa +#ansible-playbook -u docker -i inventory.yml $YAML.yml -f 5 --private-key=/home/docker/.ssh/id_rsa