besmirzanaj.my_name
ansible_role_avast_antivirus
This role is designed to install Avast Antivirus on Linux systems.
You can find the official documentation for Avast Antivirus for Linux here: Avast Tech Document
Requirements
Operating System
This role works on Debian or RHEL-based Linux systems that use systemd.
You need to run this role with root permissions. If you're using a regular user with sudo rights, add become: true
.
Before using this role, make sure to gather ansible facts first.
License File
On a Linux host (this can be your Ansible control node), create a license file in the files
directory by following these steps (make sure you have the avast-license
package installed):
$ avastlic -v -o ./license.avastlic -c <YOUR-LICENSE-OR-WALLET-KEY>
Once created, copy the license.avastlic
file into the files
directory of this role. If your license file is saved in a different location, update the avast_license_file
variable to reflect its new path.
Role Variables
General OS variables are located in the vars
directory.
The custom role variable you need to know about:
avast_license_file
- This specifies where the Avast license file is stored.
Dependencies
None
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.my_name