diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-02-24 17:52:48 +0800 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-02-24 17:58:17 +0800 |
commit | bb0ee921be7b53609e3b942ad7aeee8b06f458d5 (patch) | |
tree | f5edc239fe11f404ea3d7784fb48265205a64935 /deploy/adapters/ansible/roles/odl_cluster_post | |
parent | e38c1a6d08b10ea81d208bd40b9df1a13d28db8c (diff) |
support odl_l3_agent enable flag param
JIRA: COMPASS-318
Change-Id: I2c9d3d9143c1f3cc9c8a36c0eb55930ce7e3e2e3
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster_post')
-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 index 83d75c39..8432186c 100755 --- a/deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml +++ b/deploy/adapters/ansible/roles/odl_cluster_post/tasks/main.yml @@ -2,3 +2,7 @@ - name: restart opendaylight shell: sleep 60; service opendaylight restart; sleep 300; when: inventory_hostname in groups['odl'] + +- name: add service daemon + shell: echo opendaylight >> /opt/service ; + when: inventory_hostname in groups['odl'] |