On Wed, Mar 5, 2014 at 4:06 PM, Arie Skliarouk <[email protected]> wrote:

> The idea is for ansible to start a playbook immediately once configuration
> changes. Bonus for choosing correct playbook across several available
> (presumably by calculating the playbook affected by the changed variable).
> Same for changed playbook.


If you're on linux, you could use Incron[1] for this. Incron uses the
kernel's inotify system to trigger cron-style jobs, triggered on filesystem
events.

In your case, incron could be configured to run an ansible-playbook command
whenever your config files or playbooks change.

-erik
[1] http://inotify.aiken.cz/?section=incron&page=about&lang=en

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CADdM08p%3DCXMO%2B9Hr%3Dw_o-pw6ia9LQSrp%2Bp71VKMU_wzXqaVaiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to