aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/onos_cluster/handlers
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-09-20 12:45:08 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-09-20 12:46:50 +0800
commitab9c9cbd1c96611c5cbe56260a73524186bf72f1 (patch)
tree6510d4c72133a0f5ea1681e58650538995bcee7e /deploy/adapters/ansible/roles/onos_cluster/handlers
parentfb0d6fc92a6286953e0985a68d317cd108cf8d4b (diff)
Write ONOS ansible script for Ubuntu14.04
JIRA: COMPASS-54 Change-Id: Icb0f0023681a0407bb987757171f72d70c1360f6 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/onos_cluster/handlers')
-rwxr-xr-xdeploy/adapters/ansible/roles/onos_cluster/handlers/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/onos_cluster/handlers/main.yml b/deploy/adapters/ansible/roles/onos_cluster/handlers/main.yml
new file mode 100755
index 00000000..c8742dd5
--- /dev/null
+++ b/deploy/adapters/ansible/roles/onos_cluster/handlers/main.yml
@@ -0,0 +1,3 @@
+---
+- name: restart onos service
+ service: name=onos state=restarted enabled=yes