2016-03-26 17:54:31 +01:00
|
|
|
# NSD configuration, automatically generated by Ansible.
|
|
|
|
# Do not edit by hand!
|
|
|
|
|
|
|
|
server:
|
2016-03-27 18:06:15 +02:00
|
|
|
{% if nsd_common_config is defined %}
|
2016-03-26 17:54:31 +01:00
|
|
|
# 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 %}
|
2016-03-27 18:06:15 +02:00
|
|
|
{% endif %}
|
2016-03-26 17:54:31 +01:00
|
|
|
|
2016-03-27 18:06:15 +02:00
|
|
|
{% if nsd_local_config is defined %}
|
2016-03-26 17:54:31 +01:00
|
|
|
# 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 %}
|
2016-03-27 18:06:15 +02:00
|
|
|
{% endif %}
|
2016-03-26 17:54:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
# Include zone definitions
|
2016-03-27 17:39:55 +02:00
|
|
|
include: "{{ zones_config_file }}"
|
2016-03-26 17:54:31 +01:00
|
|
|
|