Remove async for network deletion

This commit is contained in:
Martin Reinhardt 2021-06-02 11:48:41 +02:00
parent 2e9f4b8f06
commit cfdb264fe5
1 changed files with 0 additions and 11 deletions

View File

@ -63,17 +63,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: