Hi,
Okay, thanks, that does help a little because in the playbook what I
can do is:
- hosts: some_group
roles:
- {
role: app,
}
- hosts: all
roles:
- {
role: configure,
}
handlers:
- include: roles/app/handlers/main.yml
meaning that the handlers that have to listen for "App config has
changed" can live in the logical place in their own roles, but I do
have to remember to include each of their files.
It still is confusing to me why the handlers in
roles/app/handlers/main.yml are not visible to the tasks in the
other roles unless explicitly included this way.
Thanks,
Andy
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAFbioke1nJ8nyeqCDzKsvZ64MLBp%2Bh05eSD%3Dn7N4f8m1sx3ziQ%40mail.gmail.com.