ansible/roles/common/files/ansible-pull

5 lines
90 B
Bash

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