Install and configure newrelic-nginx.
NA
The default variables for this role are listed below. They are defined in defaults/main.yml`.
---
newrelic_nginx_sources: []
newrelic_nginx_log_file: /var/logs/nginx-nr-agent/nginx-nr-agent.log
To add sites for the plugin, add items to the newrelic_nginx_sources
list.
They should have a title, name and url. See the example playbook below for
usage.
None
Simple Playbook:
- hosts: servers
vars:
newrelic_nginx_sources:
- title: Source1
name: source_one
url: http://localhost
roles:
- ansible-newrelic-nginx
Apache
Mike Buzzetti