diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-19 07:46:41 -0400 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-07-19 07:46:41 -0400 |
commit | ad871057478f81fe176e2f4f2edc217d74995c89 (patch) | |
tree | 4817bdcee1453dd4860d794ae4e24b1b1cc28687 /deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml | |
parent | a059593121d83a1d5a54cdc2e605fd7cbbe50eea (diff) |
improvement for OpenContrail: restart apache22
JIRA: COMPASS-432
Change-Id: Ibad197771d26ccefd23f82a0165449a612cbabdb
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-add-nodes.yml')
-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; |