mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
##### SUMMARY Make sure that the tests uses the `hcloud_location_name` variable for the tests.
11 lines
311 B
YAML
11 lines
311 B
YAML
---
|
|
- name: Create test_server
|
|
hetzner.hcloud.server:
|
|
name: "{{ hcloud_server_name }}"
|
|
server_type: "{{ hcloud_server_type_name }}"
|
|
image: "{{ hcloud_image_name }}"
|
|
location: "{{ hcloud_location_name }}"
|
|
state: stopped
|
|
enable_ipv4: false
|
|
enable_ipv6: false
|
|
register: test_server
|