01general.conf.j2 528 B

12345678910111213141516171819
  1. # {{ ansible_managed }}
  2. {% for config in unbound_configuration %}
  3. {{ config.keys().0 }}: {{ config.values().0 }}
  4. {% endfor %}
  5. auto-trust-anchor-file: "/var/lib/unbound/root.key"
  6. {% for interface in unbound_interfaces %}
  7. interface: {{interface}}
  8. {% endfor %}
  9. {% for access_control in unbound_access_control %}
  10. access-control: {{access_control}}
  11. {% endfor %}
  12. hide-identity: yes
  13. hide-version: yes
  14. {% for private_address in unbound_private_address %}
  15. private-address: {{private_address}}
  16. {% endfor %}