1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

delete idempotency

This commit is contained in:
jo 2025-12-09 12:55:55 +01:00
parent 04723e1a52
commit f0720c327f
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984

View file

@ -106,3 +106,14 @@
that:
- result is changed
- result.hcloud_storage_box_snapshot is none
- name: Test delete idempotency
hetzner.hcloud.storage_box_snapshot:
storage_box: "{{ test_storage_box.hcloud_storage_box.name }}"
name: "{{ _storage_box_snapshot.name }}"
state: absent
register: result
- name: Verify delete idempotency
ansible.builtin.assert:
that:
- result is not changed