mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
##### SUMMARY Update all references to modules to use the new module names. Continuation of #390
11 lines
299 B
YAML
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 }}"
|