diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2023-05-26 06:44:54 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2023-05-26 06:44:54 +0200 |
commit | 3155cce69084524470f68d3ee59170a204322dc9 (patch) | |
tree | ea6598a39006cacf5492d0a25335db4e438d4e89 | |
parent | 1f3d481fda4ea100728504a0d5d950cb3f89be48 (diff) | |
download | playbooks-ansible-3155cce69084524470f68d3ee59170a204322dc9.tar.gz playbooks-ansible-3155cce69084524470f68d3ee59170a204322dc9.tar.xz playbooks-ansible-3155cce69084524470f68d3ee59170a204322dc9.zip |
Fix small bugs in a template and a task
-rw-r--r-- | roles/dnsserver/templates/named.conf.j2 | 4 | ||||
-rw-r--r-- | roles/mtaserver/tasks/opendkim.yml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/dnsserver/templates/named.conf.j2 b/roles/dnsserver/templates/named.conf.j2 index aca74a6..a1f5fd4 100644 --- a/roles/dnsserver/templates/named.conf.j2 +++ b/roles/dnsserver/templates/named.conf.j2 @@ -52,9 +52,9 @@ options { forwarders { {% for item in masterlist %}{{ item }}; {% endfor %} }; {% endif %} -{% if ansible_distribution == "Fedora" and ansible_distribution_version|int <= 36 -%} +{% if ansible_distribution == "Fedora" and ansible_distribution_version|int <= 36 %} dnssec-enable yes; -{% endif -%} +{% endif %} dnssec-validation yes; managed-keys-directory "/var/named/dynamic"; diff --git a/roles/mtaserver/tasks/opendkim.yml b/roles/mtaserver/tasks/opendkim.yml index 5e7345b..94c8c5a 100644 --- a/roles/mtaserver/tasks/opendkim.yml +++ b/roles/mtaserver/tasks/opendkim.yml @@ -25,7 +25,7 @@ file: path: /etc/opendkim/keys state: directory - owner: opendkim + owner: root group: opendkim mode: 0750 when: mtadomain is defined |