configure mailman; group mailman tasks together
[ansible.git] / roles / email / tasks / opendkim.yml
index c56d6f566b5f4465e0ef4d60b702819eabca4a12..8da35b37301a1526edd4b44984fe88e0a50f190e 100644 (file)
@@ -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