|
|
@ -18,7 +18,7 @@ echo "[service]" > /project/courses/Thesis/inventory.yml |
|
|
|
# include master or not |
|
|
|
echo $ip4 >> /project/courses/Thesis/inventory.yml |
|
|
|
|
|
|
|
# ansible-playbook -u docker -i inventory.yml fluentd.yml -f 5 --ask-pass --ask-become-pass |
|
|
|
# ansible-playbook -u docker -i inventory.yml monitorall.yml -f 5 --ask-pass --ask-become-pass |
|
|
|
# 1st make sudo without password |
|
|
|
# run with keys |
|
|
|
#ansible-playbook -u docker -i inventory.yml fluentd.yml -f 5 --private-key=/home/docker/.ssh/id_rsa |