The order of the handlers is critical! Per the Ansible docs,
handlers are run in the order they are included. Changing
the order may result in event orders other than the desired
[stop ODL, cleanup Karaf, start ODL].
Relevant to #7
Change-Id: Ic64127b3f3fe8d3d27322524e3c8d0eb52a5c8f8
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
---
-- include: restart_odl.yml
+- include: stop_odl.yml
+ when: ansible_os_family == 'RedHat'
+- include: cleanup_karaf.yml
+- include: start_odl.yml
when: ansible_os_family == 'RedHat'