zapier/ansible-newrelic

Name: ansible-newrelic

Owner: Zapier

Description: New Relic Role for Ansible to install and configure the New Relic Server Agent

Forked from: toshitanian/ansible-newrelic

Created: 2016-06-24 00:28:33.0

Updated: 2017-04-30 04:30:05.0

Pushed: 2016-05-13 16:19:08.0

Homepage: null

Size: 28

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ansible-newrelic

This ansible role installs and configures the New Relic Server Agent (System Monitor Daemon)

Requirements

This role requires Ansible 1.4 higher and platforms listed in the metadata file.

Role Variables

The variables that can be passed to this role and a brief description about them are as follows

# License key
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16

# Log level (error, warning, info, verbose, debug, verbosedebug)
newrelic_loglevel: info

# Log file location
newrelic_logfile: /var/log/newrelic/nrsysmond.log

# Proxy server. Default False
newrelic_proxy: fred:secret@proxy.mydomain.com:8181

# Use SSL for all communication. Default False
newrelic_ssl: "true"

# SSL CA Bundle path. Default False
newrelic_ssl_ca_bundle: /etc/pki/tls/certs/ca-bundle.crt

# SSL CA Path. Default False
newrelic_ssl_ca_path: /etc/ssl/certs

# Pid file locaiton
newrelic_pidfile: /var/run/newrelic/nrsysmond.pid

# Collector hostname
newrelic_collector_host: collector.newrelic.com

# Connection timeout for collector host
newrelic_timeout: 30
Examples
Paramaterized Role
---
- hosts: all
  roles:
    - { role: newrelic, newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16 }
Vars
---
- hosts: all
  vars:
    newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
  roles:
    - newrelic
Group vars
group_vars/production
---
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
site.yml
---
- hosts: all
  roles:
    - newrelic

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.