aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster_post/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster_post/tasks')
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml b/deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml
new file mode 100755
index 00000000..83d75c39
--- /dev/null
+++ b/deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml
@@ -0,0 +1,4 @@
+---
+- name: restart opendaylight
+ shell: sleep 60; service opendaylight restart; sleep 300;
+ when: inventory_hostname in groups['odl']