Skip to content

AWS Discovery Agent

Go to Automation

View in GitLab

Description

This playbook manages the installation, configuration, and uninstallation of the AWS Discovery Agent on Linux systems. It checks if the agent is already installed, installs the required RPM if necessary, and configures the agent with a key, secret and token. The playbook also ensures the agent is started and enabled after installation. For uninstallation, it removes the agent and cleans up related files.

Credentials

  • sys_ansible_local
  • AWS Discovery Agent

Input

Variable Description
target The target hosts for the playbook
action Install or Uninstall
aws_region AWS Region configured as the Migration Hub home Region
aws_key AWS key ID to use for authentication
aws_secret AWS key Secret to use for authentication

Output

None

Dependencies