Add remaining configuration files
This commit is contained in:
parent
201c52ed03
commit
a171d60c44
8
templates/Fedora/34/etc/logrotate.d/clamav-update
Normal file
8
templates/Fedora/34/etc/logrotate.d/clamav-update
Normal file
@ -0,0 +1,8 @@
|
||||
/var/log/freshclam.log {
|
||||
monthly
|
||||
notifempty
|
||||
missingok
|
||||
postrotate
|
||||
systemctl try-restart clamav-freshclam.service
|
||||
endscript
|
||||
}
|
@ -44,6 +44,11 @@ template_list:
|
||||
mode: '0600'
|
||||
owner: 'root'
|
||||
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'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
|
Loading…
x
Reference in New Issue
Block a user