commited current state (new functions, may not work by now)
This commit is contained in:
27
roles/deploy-clamd/tasks/configure-clamav.yml
Normal file
27
roles/deploy-clamd/tasks/configure-clamav.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
- name: Deploy ClamAV Systemd Service
|
||||
template:
|
||||
src: templates/systemd-clamav-service.j2
|
||||
dest: /etc/systemd/system/clamd.service
|
||||
notify:
|
||||
- Reload Systemd Daemon
|
||||
|
||||
- name: Deploy ClamAV Freshclam Service
|
||||
template:
|
||||
src: templates/systemd-freshclam-service.j2
|
||||
dest: /etc/systemd/system/freshclam.service
|
||||
notify:
|
||||
- Reload Systemd Daemon
|
||||
|
||||
- name: Deploy Freshclam Config File
|
||||
template:
|
||||
src: templates/freshclam-config.j2
|
||||
dest: /etc/clamav/freshclam.conf
|
||||
notify:
|
||||
- Start Freshclam Service
|
||||
|
||||
- name: Deploy ClamAV Config File
|
||||
template:
|
||||
src: templates/clamav-config.j2
|
||||
dest: /etc/clamav/clamd.conf
|
||||
notify:
|
||||
- Start Clamd Service
|
||||
Reference in New Issue
Block a user