X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/9a7ab50f8b155bf34e3819e208cade8517e9e2ae..bb0f118049b0f9e85ff03d74eb81ab7d71bf97aa:/roles/email/tasks/opendkim.yml?ds=inline diff --git a/roles/email/tasks/opendkim.yml b/roles/email/tasks/opendkim.yml index c56d6f5..5b76b02 100644 --- a/roles/email/tasks/opendkim.yml +++ b/roles/email/tasks/opendkim.yml @@ -10,7 +10,7 @@ src: templates/opendkim.env - name: regenerate opendkim service when: opendkim_env.changed - shell: /lib/opendkim/opendkim.service.generate && systemctl daemon-reload && systemd-tmpfiles /etc/tmpfiles.d/opendkim.conf --create + shell: /lib/opendkim/opendkim.service.generate && chmod +r /etc/systemd/system/opendkim.service.d/ -R && systemctl daemon-reload && systemd-tmpfiles /etc/tmpfiles.d/opendkim.conf --create notify: opendkim # tables - name: create opendkim dir @@ -20,7 +20,6 @@ become_user: opendkim args: creates: /etc/opendkim/{{ item }}/mail.private - warn: False loop: "{{ postfix.opendkim.private_keys }}" - name: generate opendkim tables template: