This commit is contained in:
parent
cc5ec38da3
commit
d33a77326c
@ -43,6 +43,8 @@
|
||||
when: item.volume | default(False) | bool
|
||||
async: 7200
|
||||
poll: 0
|
||||
retries: 5
|
||||
until: volumes is not failed
|
||||
|
||||
- name: Wait for volume(s) deletion to complete
|
||||
async_status:
|
||||
|
@ -3,7 +3,7 @@
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: false
|
||||
#no_log: "{{ molecule_no_log }}"
|
||||
no_log: "{{ molecule_no_log }}"
|
||||
tasks:
|
||||
- name: Check existing instance config file
|
||||
stat:
|
||||
@ -23,7 +23,6 @@
|
||||
loop: "{{ instance_conf }}"
|
||||
async: 7200
|
||||
poll: 0
|
||||
no_log: True
|
||||
|
||||
- name: Wait for instance(s) deletion to complete
|
||||
async_status:
|
||||
@ -32,7 +31,6 @@
|
||||
until: hetzner_jobs.finished
|
||||
retries: 300
|
||||
loop: "{{ server.results }}"
|
||||
no_log: True
|
||||
|
||||
- name: Destroy volume(s)
|
||||
hcloud_volume:
|
||||
@ -45,7 +43,7 @@
|
||||
when: item.volume | default(False) | bool
|
||||
async: 7200
|
||||
poll: 0
|
||||
retries: 3
|
||||
retries: 5
|
||||
until: volumes is not failed
|
||||
|
||||
- name: Wait for volume(s) deletion to complete
|
||||
|
Loading…
Reference in New Issue
Block a user