|
@ -20,11 +20,11 @@ echo "[service]" > /project/courses/Thesis/inventory.yml |
|
|
# include master or not |
|
|
# include master or not |
|
|
echo $ip4 >> /project/courses/Thesis/inventory.yml |
|
|
echo $ip4 >> /project/courses/Thesis/inventory.yml |
|
|
|
|
|
|
|
|
#dummy |
|
|
#dummy DONE |
|
|
ansible-playbook -u docker -i inventory.yml node.yml -f 5 --ask-pass --ask-become-pass |
|
|
# ansible-playbook -u docker -i inventory.yml node.yml -f 5 --ask-pass --ask-become-pass |
|
|
|
|
|
|
|
|
#mongo |
|
|
#mongo |
|
|
# ansible-playbook -u docker -i inventory.yml mongo.yml -f 5 --ask-pass --ask-become-pass |
|
|
ansible-playbook -u docker -i inventory.yml mongo.yml -f 5 --ask-pass --ask-become-pass |
|
|
|
|
|
|
|
|
# 1st make sudo without password |
|
|
# 1st make sudo without password |
|
|
# run with keys |
|
|
# run with keys |
|
|