linux_ws2122_ansible/roles/bind_dhcp/templates/zone.j2
2021-12-11 22:46:32 +01:00

7 lines
198 B
Django/Jinja

$ORIGIN {{ item.origin }}
$TTL {{ item.ttl }}
{% for record in item.records %}
{{ record.name }} {{ record.class | default('IN') }} {{ record.type | default('A') }} {{ record.value }}
{% endfor %}