Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wtanaka/ansible-role-newrelic-php
Ansible role to install Newrelic PHP agent
https://github.com/wtanaka/ansible-role-newrelic-php
ansible ansible-galaxy ansible-role ansible-roles galaxy monitor monitoring newrelic php
Last synced: 19 days ago
JSON representation
Ansible role to install Newrelic PHP agent
- Host: GitHub
- URL: https://github.com/wtanaka/ansible-role-newrelic-php
- Owner: wtanaka
- Created: 2016-10-16T03:47:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-23T13:37:07.000Z (over 5 years ago)
- Last Synced: 2024-11-22T21:49:51.591Z (3 months ago)
- Topics: ansible, ansible-galaxy, ansible-role, ansible-roles, galaxy, monitor, monitoring, newrelic, php
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/wtanaka/ansible-role-newrelic-php.svg?branch=master)](https://travis-ci.org/wtanaka/ansible-role-newrelic-php)
[![CircleCI](https://circleci.com/gh/wtanaka/ansible-role-newrelic-php.svg?style=svg)](https://circleci.com/gh/wtanaka/ansible-role-newrelic-php)wtanaka.newrelic-php
====================Ansible role to install newrelic-php agent.
This playbook runs newrelic-install after installing the debian
package. If this fails to identify your PHP installation, you may
have to follow the non-standard PHP instructions in
https://docs.newrelic.com/docs/agents/php-agent/advanced-installation
instead.NOTE: You must restart your PHP runtime (fpm, or apache) after this
role runs.Example Playbook
----------------- hosts: all
roles:
- role: wtanaka.newrelic-php
newrelic_php_application_name: my app name
newrelic_php_license_key: LICENSE_KEY_HEREOr you can include just the role, and configure it in `host_vars`
PLAYBOOK
- hosts: all
roles:
- wtanaka.newrelic-phpHOST_VARS file:
newrelic_php_application_name: my app name
newrelic_php_license_key: LICENSE_KEY_HEREIf your PHP binary is not in the PATH, this role will probably not
work, because newrelic-install assumes that it is.However, you can set:
`newrelic_php_binary: /path/to/your/php`
and if newrelic is already installed, this role is designed to skip
the newrelic-install runLicense
-------GPLv2
Author Information
------------------http://wtanaka.com/