add robustness after testing site.yml
This commit is contained in:
@ -27,6 +27,13 @@
|
||||
|
||||
- name: Initialize db
|
||||
script: scripts/initialize_db.sh {{ hostvars[groups['databases'][0]]['ansible_default_ipv4']['address'] }}
|
||||
register: result
|
||||
until: result|succeeded
|
||||
# sometimes the initial connect fails.
|
||||
# Retry until it succeeds.
|
||||
retries: 7
|
||||
delay: 3
|
||||
ignore_errors: yes
|
||||
|
||||
- name: keystone manage commands to setup db
|
||||
command: >
|
||||
|
Reference in New Issue
Block a user