On 12. feb. 2017 17:56, Michael Ströder wrote:
But some updates might also require restart of a service managed in a 
subsequently
invoked role which does not receive the notifications.
(In puppet I'd simply _subscribe_ to the resource to "pull" the notification.)

How to handle this case in ansible?

Ansible doesn't have something like subscribe so you'll have to use notify.
But you can notify a handler in another role since they are global.

--
Kai Stian Olstad

--
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/26ea7e6f-4e40-aac5-4db9-d3afb851cbec%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to