Change delay before policy is created

Delay was based on a pause which was goofy, new model is based on that used
by os_keystone role and waits for the lb to respond appropriately.
This commit is contained in:
Steve Lewis 2016-02-10 17:39:12 -08:00
parent 345d8f80ca
commit 9590c98a6b
1 changed files with 6 additions and 2 deletions

View File

@ -19,8 +19,12 @@
- gnocchi-setup
- gnocchi-policy-setup
- name: Wait for Gnocchi API service to be available
pause: seconds=10
- name: Wait for keystone admin to come up
wait_for:
host: "{{ internal_lb_vip_address }}"
port: "{{ gnocchi_service_port }}"
timeout: 25
delay: 10
run_once: true
tags:
- gnocchi-setup