Re: [ansible-project] Re: Global hooks/tasks

2016-02-15 Thread Brian Coca
I would recommend a custom callback plugin. -- Brian Coca -- 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

Re: [ansible-project] Re: Global hooks/tasks

2016-02-15 Thread Tobias Wolf
That would evidently work to track file changes locally. Our main use case however was to track *on the target system* (1) which team member changed a file (and who deleted a file, like a suddenly missing firewall rule, which precludes just using SVN keywords in the file header) and (2) using

[ansible-project] Re: Global hooks/tasks

2016-02-11 Thread Tobias Wolf
We had this discussion over lunch, i.e., we pondered how we could get ansible to trigger etckeeper on each host at the conclusion of the playbook. We excluded handlers because handlers are not executed once a playbook fails. Did you find a way to cleanly create a hook like this with having to

Re: [ansible-project] Re: Global hooks/tasks

2016-02-11 Thread Brian Coca
i would just have something like incron on the target that triggers etckeeper On Thu, Feb 11, 2016 at 8:11 AM, Tobias Wolf wrote: > We had this discussion over lunch, i.e., we pondered how we could get > ansible to trigger etckeeper on each host at the conclusion of the >