]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
named.conf.j2: Make key algorithm configurable
authorZack Cerza <zack@redhat.com>
Fri, 4 Nov 2022 17:42:44 +0000 (11:42 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 7 Nov 2022 19:35:12 +0000 (12:35 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/nameserver/templates/named.conf.j2

index 444f3e04e4805b2408fe3a92f7f3f29071dada2b..ffccc22803ca40a99c8c2dbe1d81d21cea244daf 100644 (file)
@@ -47,7 +47,7 @@ logging {
 {% for domain, values in ddns_keys.items() %}
 {% if key == domain %}
 key "{{ key }}" {
-       algorithm hmac-md5;
+       algorithm {{ values.algorithm|default('hmac-md5') }};
        secret "{{ values.secret }}";
 };
 {% endif %}