diff options
author | liyuenan <liyuenan@huawei.com> | 2016-11-24 16:04:21 +0800 |
---|---|---|
committer | Yuenan Li <liyuenan@huawei.com> | 2016-11-25 02:51:30 +0000 |
commit | 5b145486d36b2481ddeabbf4894959a17c41816a (patch) | |
tree | 6b3b0f3999cc42195ac6e9149995c4ec349feb78 /deploy/adapters/ansible/roles | |
parent | 2446530c3230221d76877851012eb39e2a7c0360 (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/roles')
-rw-r--r-- | deploy/adapters/ansible/roles/keystone/tasks/keystone_config.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/keystone/tasks/keystone_config.yml b/deploy/adapters/ansible/roles/keystone/tasks/keystone_config.yml index 574ebabd..e7e9297e 100644 --- a/deploy/adapters/ansible/roles/keystone/tasks/keystone_config.yml +++ b/deploy/adapters/ansible/roles/keystone/tasks/keystone_config.yml @@ -12,7 +12,7 @@ shell: su -s /bin/sh -c 'keystone-manage db_sync' keystone - 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: |