mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
test: clean ressources before testing (#228)
This commit is contained in:
parent
584e904c29
commit
97c84e93a4
2 changed files with 20 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
|||
# Copyright: (c) 2019, Hetzner Cloud GmbH <info@hetzner-cloud.de>
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
---
|
||||
- name: setup ensure primary ip is absent
|
||||
hcloud_primary_ip:
|
||||
name: "{{ hcloud_primary_ip_name }}"
|
||||
state: absent
|
||||
|
||||
- name: test create Primary IP with check mode
|
||||
hcloud_primary_ip:
|
||||
name: "{{ hcloud_primary_ip_name }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue