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.