Skip to content

Rapid7 Insight Agent

Go to Automation

View in GitLab

Description

This playbook manages the installation, configuration, and uninstallation of the Rapid7 Insight Agent on Linux systems. It checks if the agent is already installed, installs the required RPM if necessary, and configures the agent with a provided token and custom attributes. The playbook also ensures the agent is started and enabled after installation. For uninstallation, it removes the agent and cleans up related files. Additionally, it updates the attributes.json file with the latest configuration if the agent is already installed.

Credentials

  • sys_ansible_local

Input

Variable Description
target The target hosts for the playbook
action Install or Uninstall
rapid7_agent_version Version of the agent to install
rapid7_token Agent registration token

Output

None

Dependencies