Notify newrelic about app deployments (see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/deployment-notifications#api)
parameter | required | default | choices | comments |
---|---|---|---|---|
app_name | no | (one of app_name or application_id are required) The value of app_name in the newrelic.yml file used by the application |
||
application_id | no | (one of app_name or application_id are required) The application id, found in the URL when viewing the application in RPM |
||
appname | no | Name of the application |
||
changelog | no | A list of changes for this deployment |
||
description | no | Text annotation for the deployment - notes for you |
||
environment | no | The environment for this deployment |
||
revision | no | A revision number (e.g., git commit SHA) |
||
token | yes | API token, to place in the x-api-key header. |
||
user | no | The name of the user/process that triggered this deployment |
||
validate_certs (added in 1.5.1)
| no | yes |
| If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. |
- newrelic_deployment: token=AAAAAA app_name=myapp user='ansible deployment' revision=1.0
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/newrelic_deployment_module.html