spamassassin_clamav: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-29 18:17:00 +00:00
parent 3986792579
commit dcb5646bff

View file

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