projects
/
ansible.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ab0a96
)
postfix needs opendkim access
author
Ralf Jung
<post@ralfj.de>
Sat, 5 May 2018 15:23:13 +0000
(17:23 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sat, 5 May 2018 15:30:49 +0000
(17:30 +0200)
roles/postfix/tasks/postfix.yml
patch
|
blob
|
history
diff --git
a/roles/postfix/tasks/postfix.yml
b/roles/postfix/tasks/postfix.yml
index b1516091e78746690cbe7e4f92fcc4f61a17cb59..8367b89ce4db0e57bdf64abdf83430d307cdbaa8 100644
(file)
--- a/
roles/postfix/tasks/postfix.yml
+++ b/
roles/postfix/tasks/postfix.yml
@@
-35,6
+35,13
@@
loop:
- virtual_alias_map
- transport_map
loop:
- virtual_alias_map
- transport_map
+- name: give postfix user access to opendkim
+ when: postfix.opendkim is defined
+ user:
+ name: postfix
+ groups: opendkim
+ append: yes
+ notify: postfix
# cronjob
- name: delete old local-mail cronjob
file: path=/etc/cron.daily/local-mail state=absent
# cronjob
- name: delete old local-mail cronjob
file: path=/etc/cron.daily/local-mail state=absent