--- - name: Copy ClamAV plugin ansible.builtin.copy: src: ClamAV.pm dest: /etc/mail/spamassassin/ClamAV.pm mode: "0644" owner: root group: "{{ ansible_wheel }}" notify: Restart spamassassin - name: Create spamassassin config ansible.builtin.copy: src: clamav.cf dest: /etc/mail/spamassassin/clamav.cf mode: "0644" owner: root group: "{{ ansible_wheel }}" notify: Restart spamassassin