Configurable variables
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
-- WARNING: auto-generated by Ansible powerdns-recursor role.
|
||||
--
|
||||
self = newDS()
|
||||
self:add{'{{ ansible_hostname }}', '{{ ansible_hostname }}.mm', '{{ ansible_fqdn }}'}
|
||||
self:add{'{{ ansible_hostname }}', '{{ ansible_fqdn }}'{%- for fqdn in powerdns_recursor__self_add | default([]) %}
|
||||
{% if loop.first %}, {% endif %}'{{ fqdn }}'{% if not loop.last %}, {% endif %}
|
||||
{%- endfor %}}
|
||||
|
||||
function string.starts(String,Start)
|
||||
return string.sub(String,1,string.len(Start))==Start
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#
|
||||
# WARNING: auto-generated by Ansible powerdns-recursor role.
|
||||
#
|
||||
mm=172.31.122.10
|
||||
miranda-media.net=172.31.122.10
|
||||
{% if forward_lst is defined and forward_lst | length > 0 %}
|
||||
{% for zone, auth_server in forward_lst.items() %}
|
||||
{{ zone }}={{ auth_server }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user