diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-02-04 18:21:00 +0800 |
---|---|---|
committer | shuai chen <chenshuai@huawei.com> | 2016-02-04 13:33:13 +0000 |
commit | acd8c98d4a314fe467f702e04453b26070ffe6d8 (patch) | |
tree | 86b5fb934d86bff622f7f40ecd49ed77f4c07cba /deploy/adapters/ansible/roles | |
parent | 5d2d72b199e1ee1fc37bf7f0cebef471a12ca678 (diff) |
bugfix:disable accelerate mode in ansible for odl
JIRA: COMPASS-306
Change-Id: I9fd730b2a996484138a56513e0e763195fe3ee11
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
(cherry picked from commit f02cdae52268727d9498d1bc4afde76631dd47e8)
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rwxr-xr-x | deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml | 4 |
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'] |