Get rid of deprication warnings
This commit is contained in:
parent
4933956416
commit
624326aaef
|
@ -45,7 +45,7 @@
|
|||
MYSQL_ROOT_PASSWORD: "{{ secrets['MYSQL_ROOT_PASSWORD'] }}"
|
||||
DB_HOST: "{{ listen_ip | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }}"
|
||||
register: result
|
||||
until: result|succeeded
|
||||
until: result is succeeded
|
||||
# sometimes the initial connect fails.
|
||||
# Retry until it succeeds.
|
||||
retries: 7
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
shell: "sleep 10 && docker exec -i nova-controller.service nova-manage cell_v2 discover_hosts"
|
||||
delegate_to: "{{ hostvars[groups['nova-controller'][0]]['ansible_hostname'] }}"
|
||||
register: result
|
||||
until: result|succeeded
|
||||
until: result is succeeded
|
||||
retries: 7
|
||||
delay: 3
|
||||
ignore_errors: yes
|
||||
|
|
Loading…
Reference in New Issue