Hello Ansible users and dev,
Is there any way to define a handler once, and use it in roles in multiple
plays in a playbook? For example, if I have:
- hosts: set1
roles:
- role1
- hosts: set2
roles:
- role2
How can I define a handler once, to use in both roles?
Regards,
Anand
--
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/327fda9d-8a1f-4f53-82f4-65ba6c27f4df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.