Skip to content

robruma/ansible-newrelic-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Relic PHP Agent

Sets up New Relic PHP agent: https://docs.newrelic.com/docs/php/new-relic-for-php

Requirements

Debian Wheezy, with PHP installed. This role tries to restart PHP-FPM and/or the Apache web server.

Role Variables

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

# License key (required)
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16

# Application name (required)
newrelic_appname: myapp-host1;myapp

Dependencies

Requires the New Relic repository to be set up; depends on sivel.newrelic for this purpose.

Examples

Paramaterized Role

---
- hosts: all
  roles:
    - { role: praseodym.newrelic, newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16, newrelic_appname: myapp-host1;myapp }

Vars

---
- hosts: all
  vars:
    newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
    newrelic_appname: myapp-host1;myapp
  roles:
    - praseodym.newrelic-php

Group vars

group_vars/production

---
newrelic_license_key: ab2fa361cd4d0d373833cad619d7bcc424d27c16
newrelic_appname: myapp-host1;myapp

site.yml

---
- hosts: all
  roles:
    - praseodym.newrelic-php

About

Ansible role to install the New Relic PHP Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published