diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-19 13:56:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-19 13:56:43 +0000 |
commit | 1bb3554a847a267603e14983973d05ddf43ae8f3 (patch) | |
tree | 01af8ea2e4799a048429f4b5b4dd48bc0790764e /deploy | |
parent | cbd1cdbca8b2553b0ede3bb934adf597a1510ea4 (diff) | |
parent | ad871057478f81fe176e2f4f2edc217d74995c89 (diff) |
Merge "improvement for OpenContrail: restart apache22"
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml index 91517b3d..58a6bb07 100755 --- a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml +++ b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml @@ -35,6 +35,11 @@ name: "contrail-api" state: "restarted" +- name: "restart apache2" + service: + name: "apache2" + state: "restarted" + - name: "check contrail-api" shell: lsof -ni :8082 ; while [ $? -ne 0 ]; do sleep 10; lsof -ni :8082; done; sleep 20; |