1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

fix: sanity tests

This commit is contained in:
jo 2025-12-17 14:59:43 +01:00
parent addf142b05
commit 27f9a730d5
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
5 changed files with 20 additions and 12 deletions

View file

@ -158,8 +158,8 @@ hcloud_network_info:
description: |
Name of the datacenter of the server
B(Deprecated:) The R(hcloud_network_info.servers.datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the R(hcloud_network_info.servers.location) value instead.
B(Deprecated:) The RV(hcloud_network_info[].servers[].datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the RV(hcloud_network_info[].servers[].location) value instead.
See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
returned: always
type: str

View file

@ -151,8 +151,8 @@ hcloud_primary_ip:
description: |
Name of the datacenter of the Primary IP
B(Deprecated:) The R(hcloud_primary_ip.datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the R(hcloud_primary_ip.location) value instead.
B(Deprecated:) The RV(hcloud_primary_ip.datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the RV(hcloud_primary_ip.location) value instead.
See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
type: str
returned: Always
@ -313,7 +313,11 @@ class AnsiblePrimaryIP(AnsibleHCloud):
id={"type": "int"},
name={"type": "str"},
location={"type": "str"},
datacenter={"type": "str", "removed_at_date": "2026-07-01"},
datacenter={
"type": "str",
"removed_at_date": "2026-07-01",
"removed_from_collection": "hetzner.hcloud",
},
server={"type": "str"},
auto_delete={"type": "bool", "default": False},
type={"choices": ["ipv4", "ipv6"]},

View file

@ -108,8 +108,8 @@ hcloud_primary_ip_info:
description: |
Datacenter where the Primary IP was created in.
B(Deprecated:) The R(hcloud_primary_ip_info.home_location) value is deprecated and will be removed
after 1 July 2026. Please use the R(hcloud_primary_ip_info.location) value instead.
B(Deprecated:) The RV(hcloud_primary_ip_info[].home_location) value is deprecated and will be removed
after 1 July 2026. Please use the RV(hcloud_primary_ip_info[].location) value instead.
See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
returned: always
type: str

View file

@ -309,8 +309,8 @@ hcloud_server:
description: |
Name of the datacenter of the server.
B(Deprecated:) The R(hcloud_server.datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the R(hcloud_server.location) value instead.
B(Deprecated:) The RV(hcloud_server.datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the RV(hcloud_server.location) value instead.
See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
returned: always
type: str
@ -949,7 +949,11 @@ class AnsibleHCloudServer(AnsibleHCloud):
image_allow_deprecated={"type": "bool", "default": False, "aliases": ["allow_deprecated_image"]},
server_type={"type": "str"},
location={"type": "str"},
datacenter={"type": "str", "removed_at_date": "2026-07-01"},
datacenter={
"type": "str",
"removed_at_date": "2026-07-01",
"removed_from_collection": "hetzner.hcloud",
},
user_data={"type": "str"},
ssh_keys={"type": "list", "elements": "str", "no_log": False},
volumes={"type": "list", "elements": "str"},

View file

@ -116,8 +116,8 @@ hcloud_server_info:
description: |
Name of the datacenter of the server.
B(Deprecated:) The R(hcloud_server_info.datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the R(hcloud_server_info.location) value instead.
B(Deprecated:) The RV(hcloud_server_info[].datacenter) value is deprecated and will be removed
after 1 July 2026. Please use the RV(hcloud_server_info[].location) value instead.
See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters.
returned: always
type: str