bind9 : drop obsolete option for later versions
dnssec-enable argument was made obsolete in 9.16 (focal) and removed in 9.18.0 (jammy), so this fails on a Jammy host. Template it in only for earlier distros Change-Id: I14983cc8eb5fd293052affefff31dac0a8dcb8f7
This commit is contained in:
parent
a2569707fe
commit
f91fd5c9a8
@ -10,7 +10,9 @@ options {
|
|||||||
|
|
||||||
recursion yes;
|
recursion yes;
|
||||||
allow-query { any; };
|
allow-query { any; };
|
||||||
|
{% if ansible_distribution_version is version('18.04', '<=') %}
|
||||||
dnssec-enable yes;
|
dnssec-enable yes;
|
||||||
|
{% endif %}
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
|
|
||||||
empty-zones-enable yes;
|
empty-zones-enable yes;
|
||||||
|
Loading…
Reference in New Issue
Block a user