roles/bind: Simplify zone allow-update settings
Items in the `allow_update` property can use the address match list syntax to specify arbitrary restrictions, including TSIG key names. There is really no need for a special case for key names.jenkins-master
parent
eca967c8b3
commit
83817ca340
|
@ -7,11 +7,7 @@ zone "{{ zone.zone }}" {
|
||||||
{% if zone.allow_update|d %}
|
{% if zone.allow_update|d %}
|
||||||
allow-update {
|
allow-update {
|
||||||
{% for auth in zone.allow_update %}
|
{% for auth in zone.allow_update %}
|
||||||
{% if auth.key is defined %}
|
|
||||||
key {{ auth.key }};
|
|
||||||
{% else %}
|
|
||||||
{{ auth }};
|
{{ auth }};
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
};
|
};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue