infra/roles/pihole/templates/dnsmasq.d/00-domain.conf.j2

4 lines
78 B
Django/Jinja

# ansible managed
domain={{ inventory_hostname.split('.')[1:] | join('.') }}