Tool to run ansible on repo update
- Automatically run ansible on commit to git repo
- Monitor atomated run status: when it was last run and what was last status
- Current Ansible pull aproach was found as not handy - it needs ansible install and playbooks checkout on every node
/tmp/ansible_status is used for monitoring. Two metrics are used:
- File timestamp - how much time has gone since last script run
- File contents should be "ok". If it's not - something happened.