shazChaudhry/Riversafe_tech_test

Handlers are not fired

Closed this issue · 1 comments

When running Ansible via vagrant ansible provisioner, notify does not appear to work. Not sure if it is bug but requires investigation. See the TODO in ansible/roles/install-docker/tasks/main.yml

It turns out that handlers are play scoped and not role scoped. See issue ansible/ansible#15476 which has been open since 19 Apr 2016.

To get round the issue, the main playbook has been split up in multiple plays