Ansible callbacks that read events do not have the ability to insert other
events to be run.

You can solve this in two ways, always include that role last in the list
of roles for each group, or have your playbooks end in a play that applies
that role to *all* hosts.

--Michael


On Sun, Mar 23, 2014 at 7:27 PM, <[email protected]> wrote:

> Hi List.
>
>
> We have a set of tasks in a role that we'd like to be run last on every
> single host, each time.
> It seems like a job for a callback.
>
> Before I dive into it, is it possible for a callback to run a role (the
> after playbook callback) or a whole playbook (the after run success
> callback).
> All the examples show local action. Is that because of a limitation or
> just because an example never came up or did I just miss it ?
>
> Bonus point for pointing me in the direction :)
>
> Thanks.
> raphael.
>
> --
> 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/26bf876e-5b88-47d8-9fe1-1e11ad399c32%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/26bf876e-5b88-47d8-9fe1-1e11ad399c32%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEVJ8QNoxFUwaJh5MMUziWZ_gWyttyui3M1zXoFDifvgTaAgxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to