The handler doesn't run on each notification. It won't do anything until
the end of the play and should only run once, even if multiple tasks within
the play have notified.


----
Mark McCoy <http://markmccoy.us>


On Thu, Sep 18, 2014 at 10:47 AM, Olivier Javaux <[email protected]>
wrote:

> I would like to know if something has changed in order to do something.
> Is there a global variable somewhere with the number of changed for the
> host?
>
> More details: I am doing a lot of things on a system: modify system
> config, install new packages..
> At the end, if something has changed for the host, I would like to rebuild
> the integrity database.
> In my current configuration, the same host can be in different groups,
> with different roles.
> So, if I add an handler, it can be executed several times, and I would
> have to add notify:... for a lot of tasks.
> Thanks for your help.
>
>  --
> 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/088cf9c9-4afc-4984-a203-d1270ede5838%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/088cf9c9-4afc-4984-a203-d1270ede5838%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/CAP2%3DG9PqKqcuAMVa2dToRXJG4QrdiMiLY1Qn12o_PFRtZFXEtQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to