mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
test: add server cleanup timeout workaround (#539)
##### SUMMARY Prevent a timeout error when cleaning up server right after the firewall got deleted.
This commit is contained in:
parent
563e2bdd67
commit
ee09398b85
3 changed files with 12 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
||||||
state: absent
|
state: absent
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
- name: Workaround to prevent a timeout during the server deletion
|
||||||
|
ansible.builtin.pause:
|
||||||
|
seconds: 2
|
||||||
|
|
||||||
- name: Cleanup test_server
|
- name: Cleanup test_server
|
||||||
hetzner.hcloud.server:
|
hetzner.hcloud.server:
|
||||||
name: "{{ hcloud_server_name }}"
|
name: "{{ hcloud_server_name }}"
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
state: absent
|
state: absent
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
- name: Workaround to prevent a timeout during the server deletion
|
||||||
|
ansible.builtin.pause:
|
||||||
|
seconds: 2
|
||||||
|
|
||||||
- name: Cleanup test_server
|
- name: Cleanup test_server
|
||||||
hetzner.hcloud.server:
|
hetzner.hcloud.server:
|
||||||
name: "{{ hcloud_server_name }}"
|
name: "{{ hcloud_server_name }}"
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
state: absent
|
state: absent
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
- name: Workaround to prevent a timeout during the server deletion
|
||||||
|
ansible.builtin.pause:
|
||||||
|
seconds: 2
|
||||||
|
|
||||||
- name: Cleanup test_server
|
- name: Cleanup test_server
|
||||||
hetzner.hcloud.server:
|
hetzner.hcloud.server:
|
||||||
name: "{{ hcloud_server_name }}"
|
name: "{{ hcloud_server_name }}"
|
||||||
|
|
Loading…
Reference in a new issue