This role installs and configures the outlyer agent to send metrics back to agent.
outlyer_agent_key
- Agent key to use for registrationoutlyer_agent_debug
- enable debug loggingoutlyer_agent_solo
- disable central configurationoutlyer_agent_docker
- enable the docker checks and discoveryoutlyer_agent_host_labels
- key value pairings of host labelsoutlyer_agent_metric_labels
- List of host labels to aply to metricsoutlyer_agent_name:
- override agent nameoutlyer_manage_service
- Enable/disable the service handler (true)
In order to automatically add a node to Outlyer, create a file in
your ansible repo named group_vars/outlyer
using ansible-vault.
Make sure the file has the following content:
---
outlyer_agent_key: <insert_outlyer_agent_key_here>
ansible-playbook -i hosts tasks/main.yml