Open gnalsa opened 3 years ago
Hmm, a possible workaround would be a task that runs conditionally, but implementing and then maintaining this is a PITA...
Is this specific to certain Versions of Ansible?
I run into the same issue.
I have my own role and add this role via include_role
.
I am running ansible 2.9.27 As far as I understand https://github.com/ansible/ansible/issues/20493 this is not bound to any specific ansible version.
After some reading, I am not 100% sure if https://github.com/ansible/ansible/issues/20493 is the issue.
https://github.com/ansible/ansible/issues/20493 talks about calling include_role
inside a handler.
But I am facing the issue once this role is included as a task inside another role. It seems more related to https://github.com/ansible/ansible/issues/31071
Hello, I have found there is an open issue against ansible for handlers not working when using
include_role
- See https://github.com/ansible/ansible/issues/20493 It was documented as a Note in the documentation until it is addressed: https://github.com/ansible/ansible/pull/72744In my case I am getting the following error that the handler does not exist
Has anyone else faced this problem?