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/subnetwork/tasks/prepare.yml
Jonas L 328dfb8b0f
refactor: start using new modules names (#393)
##### SUMMARY

Update all references to modules to use the new module names.
Continuation of #390
2023-11-21 09:40:11 +01:00

11 lines
299 B
YAML

---
- name: Create test_network
hetzner.hcloud.network:
name: "{{ hcloud_network_name }}"
ip_range: "10.0.0.0/16"
state: present
register: test_network
- name: Select hetzner vswitch id from pool
ansible.builtin.set_fact:
test_vswitch_id: "{{ hetzner_vswitch_ids | random }}"