Browse Source

add mongo

master
zeus 4 years ago
parent
commit
c9716d3d8b
  1. 0
      install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml
  2. 4
      install/usr/share/swarmlab.io/sec/project/courses/mongodb-org-shell/mongodb-org-shell.yml.sh

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

4
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 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 # 1st make sudo without password
# run with keys # 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

Loading…
Cancel
Save