Skip to content

Instantly share code, notes, and snippets.

@drob
Created February 3, 2014 19:09
Show Gist options
  • Save drob/8790246 to your computer and use it in GitHub Desktop.
Save drob/8790246 to your computer and use it in GitHub Desktop.
---
- 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