nsd/templates/config.j2

31 lines
667 B
Plaintext
Raw Normal View History

# 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_config_file }}"