Initial version with only updating for Fedora 34

This commit is contained in:
2021-07-06 01:38:24 +00:00
parent 3267bef9d2
commit 4751219758
12 changed files with 441 additions and 33 deletions

View File

@@ -0,0 +1,24 @@
---
# vars file for ensure_clamav
package_list:
- name: 'clamav'
state: 'present'
- name: 'clamav-data'
state: 'present'
- name: 'clamav-filesystem'
state: 'present'
- name: 'clamav-lib'
state: 'present'
- name: 'clamav-update'
state: 'present'
service_list:
- name: 'clamav-freshclam.service'
state: 'started'
enabled: 'yes'
template_list:
- dest: '/etc/freshclam.conf'
group: 'root'
mode: '0600'
owner: 'root'
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/freshclam.conf'

2
vars/default.yml Normal file
View File

@@ -0,0 +1,2 @@
---
# vars file for ensure_clamav

2
vars/main.yml Normal file
View File

@@ -0,0 +1,2 @@
---
# vars file for ensure_clamav