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