ansible_role_avast_antivirus
ansible_role_avast_antivirus
This role can be used to install the Avast Antivirus for Linux.
Official documentation for Avast Antivirus for Linux is located here - https://repo.avcdn.net/linux-av/doc/avast-techdoc.pdf
Requirements
OS
A Debian or RHEL family systemd based Linux system.
The role needs to be run with root permissions. Use become: true
if using a normal user with sudo permissions.
When using this role, please gather ansible facts first
License file
On a linux host (it could be your ansible control node) create a license file under files
with the steps below (make sure to install avast-license package):
$ avastlic -v -o ./license.avastlic -c <YOUR-LICENSE-OR-WALLET-KEY>
Copy the newly generated license.avastlic
file into the files
directory of this role. If you're storing the license file somewhere else, update the avast_license_file
var accordingly with the new path.
Role Variables
Generic OS variables are defined in the vars
dir.
Custom role variables:
avast_license_file
- The location of the Avast license file.
Dependencies
NA
Example Playbook
- hosts: servers
become: true
gather_facts: true
roles:
- besmirzanaj.ansible_role_avast_antivirus
License
BSD
Author Information
Besmir Zanaj
ansible-galaxy install besmirzanaj/ansible_role_avast_antivirus