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'] }}"
|
MYSQL_ROOT_PASSWORD: "{{ secrets['MYSQL_ROOT_PASSWORD'] }}"
|
||||||
DB_HOST: "{{ listen_ip | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }}"
|
DB_HOST: "{{ listen_ip | default(hostvars[groups['databases'][0]]['ansible_default_ipv4']['address']) }}"
|
||||||
register: result
|
register: result
|
||||||
until: result|succeeded
|
until: result is succeeded
|
||||||
# sometimes the initial connect fails.
|
# sometimes the initial connect fails.
|
||||||
# Retry until it succeeds.
|
# Retry until it succeeds.
|
||||||
retries: 7
|
retries: 7
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
shell: "sleep 10 && docker exec -i nova-controller.service nova-manage cell_v2 discover_hosts"
|
shell: "sleep 10 && docker exec -i nova-controller.service nova-manage cell_v2 discover_hosts"
|
||||||
delegate_to: "{{ hostvars[groups['nova-controller'][0]]['ansible_hostname'] }}"
|
delegate_to: "{{ hostvars[groups['nova-controller'][0]]['ansible_hostname'] }}"
|
||||||
register: result
|
register: result
|
||||||
until: result|succeeded
|
until: result is succeeded
|
||||||
retries: 7
|
retries: 7
|
||||||
delay: 3
|
delay: 3
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user