1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
- name: Fix DKIM permissions ansible.builtin.file: path: /etc/opendkim/keys/ owner: opendkim group: opendkim recurse: yes - name: Restart Mail Services ansible.builtin.systemd: name: "{{ item }}" state: restarted loop: - postfix - dovecot - opendkim