mirror of
https://github.com/de-it-krachten/ansible-role-hetzner_dns
synced 2026-05-14 11:51:40 +00:00
No description
- Jinja 100%
# [1.1.0](https://github.com/de-it-krachten/ansible-role-hetzner_dns/compare/v1.0.0...v1.1.0) (2026-03-14) ### Features * Added support for Fedora 43 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-hetzner_dns
Setup DNS domain in Hetzner
Dependencies
Roles
None
Collections
- community.dns
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 8
- RockyLinux 9
- RockyLinux 10
- OracleLinux 8
- OracleLinux 9
- OracleLinux 10
- AlmaLinux 8
- AlmaLinux 9
- AlmaLinux 10
- SUSE Linux Enterprise 151
- SUSE Linux Enterprise 161
- openSUSE Leap 15
- openSUSE Leap 16
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Debian 13 (Trixie)
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Fedora 42
- Fedora 43
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# Hetzner API token
# hetzner_dnsapi_token: your-token
# Hetzner zone name
# hetzner_zone_name: your-zone
# Hetzner zone API
hetzner_zone_url: "https://dns.hetzner.com/api/v1/zones"
# DNS records
hetzner_dns_records: []
# Hetzner DNS servers
hetzner_nameservers:
- hydrogen.ns.hetzner.com
- oxygen.ns.hetzner.com
- helium.ns.hetzner.de
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'hetzner_dns'
hosts: all
become: 'yes'
tasks:
- name: Include role 'hetzner_dns'
ansible.builtin.include_role:
name: hetzner_dns