Browse Source

ansible

master
test2 5 years ago
parent
commit
f0f7aea8cd
  1. 2
      ansible/Makefile

2
ansible/Makefile

@ -9,7 +9,7 @@ ps:
@echo "ps aux" ; \ @echo "ps aux" ; \
cat inv-template.yml > inv.yml ; \ cat inv-template.yml > inv.yml ; \
swarmlab-getworkers >> inv.yml ; \ swarmlab-getworkers >> inv.yml ; \
ansible-playbook -u ubuntu -inv.yml examples/ps.yml -f 5 --private-key=/home/ubuntu/.ssh/id_rsa ; \ ansible-playbook -u ubuntu -i inv.yml examples/ps.yml -f 5 --private-key=/home/ubuntu/.ssh/id_rsa ; \

Loading…
Cancel
Save