lefos 3 years ago
parent
commit
259d605550
  1. 2
      monitorall.yml.sh

2
monitorall.yml.sh

@ -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
Loading…
Cancel
Save