Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
- name: Register New Relic repository.
get_url: url=http://download.newrelic.com/debian/newrelic.list
dest=/etc/apt/sources.list.d/newrelic.list
- name: Download repo key.
apt_key: url=http://download.newrelic.com/548C16BF.gpg
- name: Install New Relic.
apt: pkg=newrelic-sysmond update_cache=yes
- name: Configure New Relic with license key.
shell: "nrsysmond-config --set license_key=YOUR_LICENSE_KEY"
- name: Start New Relic.
service: name=newrelic-sysmond state=started
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.