aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/handlers')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml b/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml
new file mode 100644
index 00000000..017700b7
--- /dev/null
+++ b/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml
@@ -0,0 +1,4 @@
+---
+- name: restart odl service
+ #service: name=opendaylight state=restarted
+ command: su -s /bin/sh -c "{{ odl_home }}/bin/stop;{{ odl_home }}/bin/start;"