๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

43 lines
1.2 KiB

acme_dns_user: acmedns
acme_dns_group: acmedns
acme_dns_dir: /opt/acmedns
acme_dns_tld: "acme-dns.{{ acme_tld | d(tld) }}"
acme_dns_ns: "ns.acme-dns.{{ acme_tld | d(tld) }}"
acme_dns_admin: "{{ maintainer_email | d('admin@' ~ (acme_tld | d(tld))) }}"
acme_dns_api_port: 8080
acme_dns_default_config:
general:
listen: ":53"
protocol: both4
domain: "{{ acme_dns_tld }}"
nsname: "{{ acme_dns_ns | d(acme_dns_tld) }}"
nsadmin: "{{ acme_dns_admin | replace('@', '.') }}"
records:
- "{{ acme_dns_tld ~ '. A ' ~ acme_dns_external_ipv4 }}"
- "{{ (acme_dns_ns | d(acme_dns_tld)) ~ '. A ' ~ acme_dns_external_ipv4 }}"
- "{{ acme_dns_tld ~ '. NS ' ~ (acme_dns_ns | d(acme_dns_tld)) ~ '.' }}"
database:
engine: postgres
connection: "{{ 'postgresql://' ~ database_user ~ ':' ~ database_pass ~ '@' ~ database_host ~ '/' ~ database_name ~ '?sslmode=disable' }}"
api:
ip: "0.0.0.0"
autocert_port: 80
port: "{{ acme_dns_api_port }}"
disable_registration: no
tls: none
use_header: no
notification_email: "{{ maintainer_email }}"
corsorigins:
- "*"
logconfig:
loglevel: debug
logtype: stdout
logformat: text