mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
test: use shared network zone variable (#543)
##### SUMMARY Allow to easily update the network zone when changing the location, for testing.
This commit is contained in:
parent
c6d7121e9e
commit
87ad95a0ad
43 changed files with 90 additions and 21 deletions
|
|
@ -468,6 +468,7 @@
|
|||
assert:
|
||||
that:
|
||||
- result is success
|
||||
|
||||
- name: test create server with labels
|
||||
hetzner.hcloud.server:
|
||||
name: "{{ hcloud_server_name}}"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
hetzner.hcloud.subnetwork:
|
||||
network: "{{ hcloud_network_name }}-1"
|
||||
ip_range: 192.168.0.0/24
|
||||
network_zone: eu-central
|
||||
network_zone: "{{ hcloud_network_zone_name }}"
|
||||
type: cloud
|
||||
state: present
|
||||
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
hetzner.hcloud.subnetwork:
|
||||
network: "{{ hcloud_network_name }}-1"
|
||||
ip_range: 192.168.1.0/24
|
||||
network_zone: eu-central
|
||||
network_zone: "{{ hcloud_network_zone_name }}"
|
||||
type: cloud
|
||||
state: present
|
||||
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
hetzner.hcloud.subnetwork:
|
||||
network: "{{ hcloud_network_name }}-2"
|
||||
ip_range: 192.168.2.0/24
|
||||
network_zone: eu-central
|
||||
network_zone: "{{ hcloud_network_zone_name }}"
|
||||
type: cloud
|
||||
state: present
|
||||
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
hetzner.hcloud.subnetwork:
|
||||
network: "{{ hcloud_network_name }}-2"
|
||||
ip_range: 192.168.3.0/24
|
||||
network_zone: eu-central
|
||||
network_zone: "{{ hcloud_network_zone_name }}"
|
||||
type: cloud
|
||||
state: present
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue