locationlabs.netq-agent
ansible-netq-agent
A role for installing NetQ3 agents on Cumulus Linux switches.
For more details, check the NetQ documentation.
Requirements
- Cumulus Linux version 3.3 or higher
- Cumulus NetQ version 3.x
Role Variables
netq_backend_server
: IP address of the NetQ servernetq_repo_version
: Version of the NetQ repository, like "netq-3.0" or "netq-latest"
Dependencies
None
Notes
This role will automatically remove existing 1.4, 2.4, and 3.0 repository entries if you change the repository version from an older version. If the current version is different (like netq-latest), it will be up to you to manage that. You can change "state: present" to "state: absent" for your previous version before upgrading, or specify the version to remove in the task: "Remove any old netq repos" in /task/main.yml.
If versions 1.4, 2.4, or 3.0 are already installed, they will be upgraded to 3.1 or the latest version based on netq_repo_version
. If there are no agents installed on your Cumulus Linux host, then netq-agent and netq-apps (CLI) version 3.1 or the latest will be installed.
This role only works with Cumulus Linux, not with Ubuntu or RHE/CentOS hosts.
Example Playbook
- hosts: switches
tasks:
- import_role:
name: ansible-netq-agent
License
Apache License 2.0
Author Information
Location Labs by Avast
ansible-galaxy install locationlabs.netq-agent