infrastructure/playbooks/roles/acme_dns/vars/main.yml
Tobias Reisinger d3e5f80728
Fix dns issues
Add woodpecker agent dns
Add ipv6 binding to acme_dns
2024-12-03 11:49:27 +01:00

29 lines
909 B
YAML

---
acme_dns_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 80
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
records:
a: "{{ ansible_facts.default_ipv4.address }}"
aaaa: "{{ ansible_facts.default_ipv6.address }}"
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
user: "{{ opentofu.postgresql_data.acme_dns.user }}"
pass: "{{ opentofu.postgresql_data.acme_dns.pass }}"
db: "{{ opentofu.postgresql_data.acme_dns.database }}"
acme_dns_compose:
watchtower: update
monitoring: true
image: joohoi/acme-dns
volumes:
- ./config:/etc/acme-dns:ro
file:
services:
app:
ports:
- "{{ ansible_default_ipv4.address }}:53:53"
- "{{ ansible_default_ipv4.address }}:53:53/udp"
- "{{ ansible_default_ipv6.address }}:53:53"
- "{{ ansible_default_ipv6.address }}:53:53/udp"