From f02cdae52268727d9498d1bc4afde76631dd47e8 Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Thu, 4 Feb 2016 18:21:00 +0800 Subject: bugfix:disable accelerate mode in ansible for odl JIRA: COMPASS-306 Change-Id: I9fd730b2a996484138a56513e0e763195fe3ee11 Signed-off-by: chenshuai@huawei.com --- deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml (limited to 'deploy/adapters/ansible/roles/odl_cluster_post') 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'] -- cgit 1.2.3-korg