infrastructure/playbooks/roles/acme_dns/vars/main.yml

28 lines
793 B
YAML
Raw Normal View History

2024-09-26 22:02:36 +00:00
---
acme_dns_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
2024-09-26 22:02:36 +00:00
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 }}"
2024-09-26 22:02:36 +00:00
acme_dns_compose:
watchtower: true
monitoring: true
image: joohoi/acme-dns
volumes:
- ./config:/etc/acme-dns:ro
file:
services:
app:
ports:
2024-10-31 21:05:04 +00:00
- "{{ ansible_default_ipv4.address }}:53:53"
- "{{ ansible_default_ipv4.address }}:53:53/udp"