Commit eaebc113 by e0d

docs

parent c5dc1cf9
...@@ -7,20 +7,23 @@ ...@@ -7,20 +7,23 @@
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions # code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT # license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
# #
#
#
# Tasks for role newrelic # Tasks for role newrelic
# #
# Overview: # Overview:
# #
# Installs and configures the newrelic system monitoring agent # Installs and configures the newrelic system monitoring agent. The server
# # will be identified in Newrelic by hostname and this cannot be changed
# Dependencies: # in configuration. Also configuratin does not allow hosts to be
# associated with an application or tagged.
# #
#
# Example play: # Example play:
# #
# # - name: Install Newrelic system agent
# hosts: all
# sudo: True
# gather_facts: True
# roles:
# - newrelic
- name: add apt key - name: add apt key
apt_key: id=548C16BF url={{COMMON_NEWRELIC_KEY_URL }} state=present apt_key: id=548C16BF url={{COMMON_NEWRELIC_KEY_URL }} state=present
...@@ -32,7 +35,9 @@ ...@@ -32,7 +35,9 @@
apt: pkg="newrelic-sysmond" apt: pkg="newrelic-sysmond"
- name: configure the agent with the license key - name: configure the agent with the license key
shell: nrsysmond-config --set license_key={{ COMMON_NEWRELIC_LICENSE_KEY }} ssl=true shell: >
nrsysmond-config --set license_key={{ COMMON_NEWRELIC_LICENSE_KEY }}
ssl=true
- name: start the newrelic system agent - name: start the newrelic system agent
shell: /etc/init.d/newrelic-sysmond start shell: /etc/init.d/newrelic-sysmond start
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment