{"id":16060787,"url":"https://github.com/geerlingguy/ansible-role-clamav","last_synced_at":"2025-10-19T04:38:05.859Z","repository":{"id":23529839,"uuid":"98919331","full_name":"geerlingguy/ansible-role-clamav","owner":"geerlingguy","description":"Ansible Role - ClamAV.","archived":false,"fork":false,"pushed_at":"2025-01-31T03:24:55.000Z","size":43,"stargazers_count":64,"open_issues_count":2,"forks_count":51,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T19:08:18.958Z","etag":null,"topics":["ansible","antimalware","antivirus","clamav","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/clamav/","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2017-07-31T18:49:38.000Z","updated_at":"2025-01-31T03:24:59.000Z","dependencies_parsed_at":"2024-08-08T04:08:07.371Z","dependency_job_id":"bbb81387-4388-4e21-b62e-cbaf36cdddbd","html_url":"https://github.com/geerlingguy/ansible-role-clamav","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-clamav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-clamav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-clamav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-clamav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-clamav/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393573,"owners_count":20931813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","antimalware","antivirus","clamav","role"],"created_at":"2024-10-09T04:06:22.951Z","updated_at":"2025-10-19T04:38:00.838Z","avatar_url":"https://github.com/geerlingguy.png","language":"Jinja","funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":[],"sub_categories":[],"readme":"# Ansible Role: ClamAV\n\n[![CI](https://github.com/geerlingguy/ansible-role-clamav/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-clamav/actions/workflows/ci.yml)\n\nInstalls ClamAV on RedHat/CentOS and Debian/Ubuntu Linux servers.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    clamav_packages:\n      - clamav\n      - clamav-base\n      - clamav-daemon\n\n(Defaults for Debian/Ubuntu shown). List of packages to be installed for ClamAV operations.\n\n    clamav_daemon_localsocket: /var/run/clamav/clamd.ctl\n    clamav_daemon_config_path: /etc/clamav/clamd.conf\n    clamav_freshclam_daemon_config_path: /etc/clamav/freshclam.conf\n\nPath configuration for ClamAV daemon. These are hardcoded specifically for each OS family (Debian and Red Hat) and cannot be overidden.\n\n    clamav_daemon_configuration_changes:\n      - regexp: '^.*Example$'\n        state: absent\n      - regexp: '^.*LocalSocket .*$'\n        line: 'LocalSocket {{ clamav_daemon_localsocket }}'\n\nChanges to make to the configuration file that is read from when ClamAV starts. You need to at least comment the 'Example' line and open a LocalSocket (or `TCPSocket`, e.g. `3310` by default) to get the ClamAV daemon to run.\n\n    clamav_daemon_state: started\n    clamav_daemon_enabled: true\n\nControl whether the `clamav-daemon` service is running and/or enabled on system boot.\n\n    clamav_freshclam_configuration_changes:\n      - regexp: '^.*HTTPProxyServer .*$'\n        line: 'HTTPProxyServer {{ clamav_freshclam_http_proxy_server }}'\n      - regexp: '^.*HTTPProxyPort .*$'\n        line: 'HTTPProxyPort {{ clamav_freshclam_http_proxy_port }}'\n\nChanges to make to the configuration file that is read from when freshclam starts. You will need to add your HTTP Proxy server configuration here, if you have one.\n\n    clamav_freshclam_daemon_state: started\n    clamav_freshclam_daemon_enabled: true\n\nControl whether the `clamav-freshclam` service is running and/or enabled on system boot.\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n    - hosts: servers\n      become: true\n      roles:\n        - geerlingguy.clamav\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2017 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-clamav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-clamav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-clamav/lists"}