ansible/roles/common/files/ansible-pull

4 lines
110 B
Plaintext
Raw Normal View History

2018-12-22 14:48:32 +00:00
#!/bin/bash
cd /var/thunix/ansible
git pull
2018-12-22 17:52:31 +00:00
ansible-playbook -i ./hosts site.yml -u root --limit `hostname -f`