mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
handle race condition
This commit is contained in:
parent
bab82474ec
commit
73b325a24f
1 changed files with 3 additions and 4 deletions
|
|
@ -139,10 +139,9 @@
|
|||
name: "{{ hcloud_load_balancer_name }}"
|
||||
state: absent
|
||||
register: result
|
||||
- name: verify cleanup load_balancer
|
||||
assert:
|
||||
that:
|
||||
- result is success
|
||||
until: result is not failed
|
||||
retries: 5
|
||||
delay: 2
|
||||
|
||||
- name: cleanup
|
||||
hcloud_server:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue