X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d472ee9713d21c5d718b320cc65cabe63aab0249..bea8c24ee7a473aef46ce452a8f1578487ac983e:/roles/postfix/tasks/postfix.yml?ds=inline 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