community.general.newrelic_deployment – Notify newrelic about app deployments

From Get docs
Ansible/docs/2.11/collections/community/general/newrelic deployment module


community.general.newrelic_deployment – Notify newrelic about app deployments

Note

This plugin is part of the community.general collection (version 2.0.1).

To install it use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.newrelic_deployment.


Synopsis

Parameters

Parameter Choices/Defaults Comments

app_name

string

(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

string

(one of app_name or application_id are required) The application id, found in the URL when viewing the application in RPM

appname

string

Name of the application

changelog

string

A list of changes for this deployment

description

string

Text annotation for the deployment - notes for you

environment

string

The environment for this deployment

revision

string

A revision number (e.g., git commit SHA)

token

string / required

API token, to place in the x-api-key header.

user

string

The name of the user/process that triggered this deployment

validate_certs

boolean

  • no
  • yes

If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.



Examples

- name:  Notify newrelic about an app deployment
  community.general.newrelic_deployment:
    token: AAAAAA
    app_name: myapp
    user: ansible deployment
    revision: '1.0'

Authors

  • Matt Coddington (@mcodd)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/community/general/newrelic_deployment_module.html