Permissions not being inherited for import_role handlers

Howdy all,

I’ve got a role I’m using (https://github.com/ansible-ThoTeam/nexus3-oss) that has some handlers. The overall play I’m applying that role in doesn’t run with ‘become: true’ permissions, but I would like that role to. The role is being applied during that play like this:

`

  • import_role:
    name: ansible-ThoTeam.nexus3-oss
    vars:
    nexus_version: ‘3.12.0-01’

    become: true
    `

When running the play, though, things go boom like this:

RUNNING HANDLER [ansible-ThoTeam.nexus3-oss : systemd-reload] ***************************************************************************************************************************************************** Friday 01 June 2018 07:35:17 -0400 (0:00:00.022) 0:08:57.985 *********** fatal: [eddings.justdavis.com]: FAILED! => {"changed": false, "msg": "failure 1 during daemon-reload: Failed to execute operation: Interactive authentication required.\n"}

Is this just an Ansible bug similar to https://github.com/ansible/ansible/issues/17490?

Thanks much,
Karl M. Davis

This has been resolved in https://github.com/ansible/ansible/pull/39426 and is planned for the upcoming 2.6 release later this month.