mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
feat: DNS support is now generally available (#727)
##### SUMMARY DNS support is now general available. See https://docs.hetzner.cloud/changelog#2025-11-10-dns-ga for more details. ##### ISSUE TYPE - Feature Pull Request
This commit is contained in:
parent
450b61edb8
commit
337067d9de
6 changed files with 2 additions and 35 deletions
|
|
@ -15,8 +15,6 @@ short_description: Create and manage DNS Zone on the Hetzner Cloud.
|
|||
description:
|
||||
- Create, update and delete DNS Zone on the Hetzner Cloud.
|
||||
- See the L(Zones API documentation,https://docs.hetzner.cloud/reference/cloud#zones) for more details.
|
||||
- B(Experimental:) DNS API is in beta, breaking changes may occur within minor releases.
|
||||
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
|
||||
|
||||
author:
|
||||
- Jonas Lammler (@jooola)
|
||||
|
|
@ -259,7 +257,6 @@ hcloud_zone:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
from ..module_utils.experimental import dns_experimental_warning
|
||||
from ..module_utils.hcloud import AnsibleHCloud
|
||||
from ..module_utils.vendor.hcloud import APIException, HCloudException
|
||||
from ..module_utils.vendor.hcloud.actions import BoundAction
|
||||
|
|
@ -271,10 +268,6 @@ class AnsibleHCloudZone(AnsibleHCloud):
|
|||
|
||||
hcloud_zone: BoundZone | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
dns_experimental_warning(module)
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
return {
|
||||
"id": self.hcloud_zone.id,
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@ short_description: Gather infos about your Hetzner Cloud Zones.
|
|||
description:
|
||||
- Gather infos about your Hetzner Cloud Zones.
|
||||
- See the L(Zones API documentation,https://docs.hetzner.cloud/reference/cloud#zones) for more details.
|
||||
- B(Experimental:) DNS API is in beta, breaking changes may occur within minor releases.
|
||||
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
|
||||
|
||||
author:
|
||||
- Jonas Lammler (@jooola)
|
||||
|
|
@ -158,7 +156,6 @@ hcloud_zone_info:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
from ..module_utils.experimental import dns_experimental_warning
|
||||
from ..module_utils.hcloud import AnsibleHCloud
|
||||
from ..module_utils.vendor.hcloud import APIException, HCloudException
|
||||
from ..module_utils.vendor.hcloud.zones import BoundZone, ZonePrimaryNameserver
|
||||
|
|
@ -169,10 +166,6 @@ class AnsibleHCloudZoneInfo(AnsibleHCloud):
|
|||
|
||||
hcloud_zone_info: list[BoundZone] | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
dns_experimental_warning(module)
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
tmp = []
|
||||
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@ short_description: Create and manage Zone RRSets on the Hetzner Cloud.
|
|||
description:
|
||||
- Create, update and delete Zone RRSets on the Hetzner Cloud.
|
||||
- See the L(Zone RRSets API documentation,https://docs.hetzner.cloud/reference/cloud#zone-rrsets) for more details.
|
||||
- B(Experimental:) DNS API is in beta, breaking changes may occur within minor releases.
|
||||
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
|
||||
|
||||
author:
|
||||
- Jonas Lammler (@jooola)
|
||||
|
|
@ -174,7 +172,6 @@ from typing import Literal
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
from ..module_utils.experimental import dns_experimental_warning
|
||||
from ..module_utils.hcloud import AnsibleHCloud
|
||||
from ..module_utils.vendor.hcloud import APIException, HCloudException
|
||||
from ..module_utils.vendor.hcloud.actions import BoundAction
|
||||
|
|
@ -186,10 +183,6 @@ class AnsibleHCloudZoneRRSet(AnsibleHCloud):
|
|||
|
||||
hcloud_zone_rrset: BoundZoneRRSet | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
dns_experimental_warning(module)
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
return {
|
||||
# Do not use the zone name to prevent a request to the API.
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@ short_description: Gather infos about your Hetzner Cloud Zone RRSets.
|
|||
description:
|
||||
- Gather infos about your Hetzner Cloud Zone RRSets.
|
||||
- See the L(Zone RRSets API documentation,https://docs.hetzner.cloud/reference/cloud#zone-rrsets) for more details.
|
||||
- B(Experimental:) DNS API is in beta, breaking changes may occur within minor releases.
|
||||
See https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta for more details.
|
||||
|
||||
author:
|
||||
- Jonas Lammler (@jooola)
|
||||
|
|
@ -120,7 +118,6 @@ hcloud_zone_rrset_info:
|
|||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
from ..module_utils.experimental import dns_experimental_warning
|
||||
from ..module_utils.hcloud import AnsibleHCloud
|
||||
from ..module_utils.vendor.hcloud import APIException, HCloudException
|
||||
from ..module_utils.vendor.hcloud.zones import BoundZoneRRSet, Zone, ZoneRecord
|
||||
|
|
@ -131,10 +128,6 @@ class AnsibleHCloudZoneRRSetInfo(AnsibleHCloud):
|
|||
|
||||
hcloud_zone_rrset_info: list[BoundZoneRRSet] | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
dns_experimental_warning(module)
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
tmp = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue