X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d472ee9713d21c5d718b320cc65cabe63aab0249..9f8c46139244a9e6c1c848be5c513898680b4ad4:/roles/postfix/tasks/postfix.yml diff --git a/roles/postfix/tasks/postfix.yml b/roles/postfix/tasks/postfix.yml index b151609..8367b89 100644 --- a/roles/postfix/tasks/postfix.yml +++ b/roles/postfix/tasks/postfix.yml @@ -35,6 +35,13 @@ 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