31 lines
668 B
Django/Jinja
31 lines
668 B
Django/Jinja
# NSD configuration, automatically generated by Ansible.
|
|
# Do not edit by hand!
|
|
|
|
server:
|
|
# Common configuration
|
|
{% for key, value in nsd_common_config.iteritems() %}
|
|
{% if value is string or value is number %}
|
|
{{ key }}: "{{ value }}"
|
|
{% else %}
|
|
{% for subvalue in value %}
|
|
{{ key }}: "{{ subvalue }}"
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
# Local configuration
|
|
{% for key, value in nsd_local_config.iteritems() %}
|
|
{% if value is string or value is number %}
|
|
{{ key }}: "{{ value }}"
|
|
{% else %}
|
|
{% for subvalue in value %}
|
|
{{ key }}: "{{ subvalue }}"
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
|
|
# Include zone definitions
|
|
include: "{{ zones_include_file }}"
|
|
|