ansible/roles/common/files/ansible-pull

4 lines
88 B
Bash

#!/bin/bash
cd /var/thunix/ansible
git pull
ansible-playbook -i ./hosts site.yml -u root