Remove async for network deletion
This commit is contained in:
parent
cfdb264fe5
commit
a1669c0b04
@ -67,17 +67,6 @@
|
||||
state: absent
|
||||
register: networks
|
||||
loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}"
|
||||
async: 7200
|
||||
poll: 0
|
||||
|
||||
- name: Wait for network(s) deletion to complete
|
||||
async_status:
|
||||
jid: "{{ item.ansible_job_id }}"
|
||||
register: hetzner_networks
|
||||
until: hetzner_networks.finished
|
||||
retries: 300
|
||||
when: networks.changed
|
||||
with_items: "{{ networks.results }}"
|
||||
|
||||
- name: Remove registered SSH key
|
||||
hcloud_ssh_key:
|
||||
|
@ -66,17 +66,6 @@
|
||||
state: absent
|
||||
register: networks
|
||||
loop: "{{ instance_conf|subelements('networks', skip_missing=True) }}"
|
||||
async: 7200
|
||||
poll: 0
|
||||
|
||||
- name: Wait for network(s) deletion to complete
|
||||
async_status:
|
||||
jid: "{{ item.ansible_job_id }}"
|
||||
register: hetzner_networks
|
||||
until: hetzner_networks.finished
|
||||
retries: 300
|
||||
when: networks.changed
|
||||
with_items: "{{ networks.results }}"
|
||||
|
||||
- name: Remove registered SSH key
|
||||
hcloud_ssh_key:
|
||||
|
Loading…
Reference in New Issue
Block a user