diff options
author | liyuenan <liyuenan@huawei.com> | 2016-11-28 11:39:09 +0800 |
---|---|---|
committer | liyuenan <liyuenan@huawei.com> | 2016-11-28 11:43:12 +0800 |
commit | da9fb976a12604b087d94912ad033185cd58fe1f (patch) | |
tree | 8dbf13920459e652fcb165b886cd75a73b2b7cc3 /deploy/adapters/ansible/roles | |
parent | 1908bad07fdc419fb7f26769781d1d16307c2e26 (diff) |
Fix the wait_for modules
After restart the service, service's port should be polled rather than haproxy.
JIRA: COMPASS-489
Change-Id: I62d916a254d6890a43766d1badf52a10ebf4e016
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: |