projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix apache HTTP2HTTPS redirect config
[ansible.git]
/
roles
/
email
/
tasks
/
opendkim.yml
diff --git
a/roles/email/tasks/opendkim.yml
b/roles/email/tasks/opendkim.yml
index c56d6f566b5f4465e0ef4d60b702819eabca4a12..5b76b02012e7aa5ff3ce22d11ce786bc6c88f821 100644
(file)
--- 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
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
notify: opendkim
# tables
- name: create opendkim dir
@@
-20,7
+20,6
@@
become_user: opendkim
args:
creates: /etc/opendkim/{{ item }}/mail.private
become_user: opendkim
args:
creates: /etc/opendkim/{{ item }}/mail.private
- warn: False
loop: "{{ postfix.opendkim.private_keys }}"
- name: generate opendkim tables
template:
loop: "{{ postfix.opendkim.private_keys }}"
- name: generate opendkim tables
template: