Add intdomain variable to simplify configs

This commit is contained in:
Timo Makinen 2025-06-21 16:02:57 +00:00
parent 05b4c3a9f4
commit e55dd35605
4 changed files with 9 additions and 8 deletions

View file

@ -15,8 +15,8 @@ server:
interface: {{ intnet | ansible.utils.ipaddr(12) | ansible.utils.ipaddr('address') }}@53
interface: {{ intnet | ansible.utils.ipaddr(12) | ansible.utils.ipaddr('address') }}@853
tls-service-key: {{ tls_private }}/dns.{{ inventory_hostname.split('.')[1] }}.foo.sh.key
tls-service-pem: {{ tls_certs }}/dns.{{ inventory_hostname.split('.')[1] }}.foo.sh.crt
tls-service-key: {{ tls_private }}/dns.{{ intdomain }}.key
tls-service-pem: {{ tls_certs }}/dns.{{ intdomain }}.crt
tls-cert-bundle: {{ tls_bundle }}
access-control: 127.0.0.0/8 allow