aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/handlers
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-08-30 21:47:49 -0400
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-09-02 02:26:24 -0400
commit633175ed2c5d0ab339027ba0a542bcdd4d3769c0 (patch)
treee9dad6f2819b113ac7f0a9695254e05b5fc1fc94 /deploy/adapters/ansible/roles/odl_cluster/handlers
parent60d16e487ba8641640a185369f3882e1227e56d7 (diff)
Write ODL ansible script for Ubuntu14.04
JIRA: COMPASS-23 Change-Id: Iad692c8f77492989e29d0a4862989edea1d48fc5 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
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, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml b/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml
index 017700b7..81e6c658 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/handlers/main.yml
@@ -1,4 +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;"
+ service: name=opendaylight state=restarted
+ #command: su -s /bin/sh -c "{{ odl_home }}/bin/stop;{{ odl_home }}/bin/start;"