aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_mitaka_xenial
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-11-24 16:04:21 +0800
committerYuenan Li <liyuenan@huawei.com>2016-11-25 02:51:30 +0000
commit5b145486d36b2481ddeabbf4894959a17c41816a (patch)
tree6b3b0f3999cc42195ac6e9149995c4ec349feb78 /deploy/adapters/ansible/openstack_mitaka_xenial
parent2446530c3230221d76877851012eb39e2a7c0360 (diff)
Fix the wait_for modules
After restart the service, service's port should be polled rather than haproxy. JIRA: COMPASS-491 Change-Id: I52165e9673b997883109fbf93a93b360a25dabba Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial')
-rw-r--r--deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/moon-controller.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/moon-controller.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/moon-controller.yml
index 7a507c88..95dd2e89 100644
--- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/moon-controller.yml
+++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/moon/tasks/moon-controller.yml
@@ -142,7 +142,7 @@
#############################################
- name: wait for keystone ready
- wait_for: port=35357 delay=3 timeout=10 host={{ internal_vip.ip }}
+ wait_for: port=35357 delay=3 timeout=10 host={{ internal_ip }}
#- name: cron job to purge expired tokens hourly
# cron: