forked from ISTI-ansible-roles/ansible-roles
Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
47b9cc52fe
|
@ -25,6 +25,9 @@
|
||||||
- name: Install the freshclam configuration
|
- name: Install the freshclam configuration
|
||||||
template: src=freshclam.conf.j2 dest=/etc/freshclam.conf owner=root group=root mode=0400
|
template: src=freshclam.conf.j2 dest=/etc/freshclam.conf owner=root group=root mode=0400
|
||||||
|
|
||||||
|
- name: Change the /var/lib/clamav permissions so that freshclam can write into it
|
||||||
|
file: dest=/var/lib/clamav state=directory owner=clamscan group=clamupdate mode='u=rwx,g=rwsx,o=rx'
|
||||||
|
|
||||||
- name: Ensure that the clamd service is running and enabled
|
- name: Ensure that the clamd service is running and enabled
|
||||||
service: name=clamd@scan state=started enabled=yes
|
service: name=clamd@scan state=started enabled=yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue