This is a minimal test case for ansible/ansible#47353.
Using the following command:
ANSIBLE_STDOUT_CALLBACK=actionable ansible-playbook -i inventory.cfg playbook.yml
❌ Ansible 2.7.0 incorrectly reports:
PLAY [localhost] ***********************************************************
TASK [Task 3] **************************************************************
changed: [localhost] => {
"msg": "Task notifying a handler"
}
TASK [Task 3] **************************************************************
TASK [Task 3] **************************************************************
changed: [localhost] => {
"msg": "This is a handler"
}
PLAY RECAP *****************************************************************
localhost : ok=3 changed=2 unreachable=0 failed=0
✅ Ansible 2.6.0 correctly reports:
PLAY [localhost] ***********************************************************
TASK [Task 3] **************************************************************
changed: [localhost] => {
"msg": "Task notifying a handler"
}
RUNNING HANDLER [Handler 1] ************************************************
changed: [localhost] => {
"msg": "This is a handler"
}
PLAY RECAP *****************************************************************
localhost : ok=3 changed=2 unreachable=0 failed=0