ansible/roles/common/files/ansible-pull

6 lines
132 B
Plaintext
Raw Normal View History

2018-12-22 14:48:32 +00:00
#!/bin/bash
export 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