pgolm/ansible-playbook-monit — pull request #13 by mtpereira (2014-11-14 17:47:53+00:00)
Title: Monitor template

Hello,

I've made a couple of big mistakes on my previous PR:

- Monit does not load monitors on /etc/monit/monitrc.d;
- Ansible's with_fileglob only works for local files from where we're running the playbook.

This PR fixes the loading and unloading of monitors, saving a list of configured monitors on ansible facts, on /etc/ansible/facts.d/monit.fact.

Sorry for the mess and thank you.