1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00
hetzner.hcloud/tests/integration/targets/server/tasks/cleanup.yml

37 lines
880 B
YAML

---
- name: Cleanup test_ssh_key
hetzner.hcloud.ssh_key:
name: "{{ hcloud_ssh_key_name }}"
state: absent
- name: Cleanup test_network
hetzner.hcloud.network:
name: "{{ hcloud_network_name }}"
state: absent
- name: Cleanup test_primary_ipv4_1
hetzner.hcloud.primary_ip:
name: "{{ hcloud_primary_ip_name }}v4-1"
state: absent
- name: Cleanup test_primary_ipv4_2
hetzner.hcloud.primary_ip:
name: "{{ hcloud_primary_ip_name }}v4-2"
state: absent
- name: Cleanup test_primary_ipv6
hetzner.hcloud.primary_ip:
name: "{{ hcloud_primary_ip_name }}v6"
state: absent
- name: Cleanup test_firewall_1
hetzner.hcloud.firewall:
name: "{{ hcloud_firewall_name }}-1"
force: true
state: absent
- name: Cleanup test_firewall_2
hetzner.hcloud.firewall:
name: "{{ hcloud_firewall_name }}-2"
force: true
state: absent