Add remaining configuration files

This commit is contained in:
Jason Rothstein 2021-07-18 03:47:40 +00:00
parent 201c52ed03
commit a171d60c44
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/var/log/freshclam.log {
monthly
notifempty
missingok
postrotate
systemctl try-restart clamav-freshclam.service
endscript
}

View File

@ -44,6 +44,11 @@ template_list:
mode: '0600' mode: '0600'
owner: 'root' owner: 'root'
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/freshclam.conf' src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/freshclam.conf'
- dest: '/etc/logrotate.d/clamav-update'
group: 'root'
mode: '0644'
owner: 'root'
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/clamav-update'
- dest: '/usr/lib/systemd/system/clamav-clamonacc.service' - dest: '/usr/lib/systemd/system/clamav-clamonacc.service'
group: 'root' group: 'root'
mode: '0644' mode: '0644'