- Description
- Setup - The basics of getting started with nrinfragent
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the role is doing and how
- Limitations - OS compatibility, etc.
This role installs and configures the New Relic Infrastructure agent.
Note that this is a simple role and is intended for you to use as a starting place for your own customized workflow.
- Adds the New Relic Infrastructure package repository source
- Installs and configures the New Relic Infrastructure agent
Include the role in your playbook. Customize the required variables.
All typical interactions with nrinfragent
will be done through role configuration.
---
- hosts: ap_ne_1
become: True
roles:
- role: nrinfragent
nrinfragent_license_key: YOUR_LICENSE_KEY
nrinfragent_config:
display_name: awesome-node
custom_attributes:
env: production
team: awesome-team
What version of the agent do you want to install:
'*'
- [default] install the latest version of the agent.'X.Y.ZZZ'
- string of the specific version number you want to install, e.g. 1.0.280
Specifies the New Relic license key to use.
See the official docs for available config options here.
Copyright (c) 2017 New Relic, Inc. All rights reserved.