Configurable variables

This commit is contained in:
135
2023-10-13 12:38:40 +03:00
parent 69be69ebb0
commit 1d34e1324c
5 changed files with 37 additions and 12 deletions

View File

@@ -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