Using handlers with non-dynamic includes in 2.0

8 views
Skip to first unread message

Stefan Midjich

unread,
Jan 25, 2016, 10:01:14 AM1/25/16
to Ansible Project
I recently upgraded to 2.0 and noticed that none of my handlers were executing because I've gathered them centrally to be used by many roles and playbooks.

Since handlers almost exclusively restart services they are easy to define globally because services have only a couple of ways to be restarted across many distros.

But with 2.0 I am unable to include handlers, due to non-dynamic includes. So the only solution I can think of is defining handlers inline, which means I would have to re-define handlers for every playbook or role I have.

This is not acceptable obviously, so I'm curious to hear how the community views this.

  * https://github.com/ansible/ansible/issues/13485

/ Stefan Midjich
Reply all
Reply to author
Forward
0 new messages