This step sometimes fails inexplicably
..and succeeds on retry.
This commit is contained in:
parent
50d5c672d0
commit
b4d9eed775
@ -74,3 +74,8 @@
|
||||
- name: let nova controler discover new host
|
||||
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
|
||||
retries: 7
|
||||
delay: 3
|
||||
ignore_errors: yes
|
||||
|
Loading…
Reference in New Issue
Block a user