ansible/roles/common/files/ansible-pull

6 lines
125 B
Plaintext
Raw Normal View History

2018-12-22 14:48:32 +00:00
#!/bin/bash
2019-03-17 01:51:49 +00:00
ANSIBLE_LOCAL_TEMP = /tmp/.ansible
2018-12-22 14:48:32 +00:00
cd /var/thunix/ansible
git pull
ansible-playbook -i ./hosts site.yml -u root