PARALLAX

newrelic_deployment

Notify New Relic about app deployments

Collection: community.general

Full Name: community.general.newrelic_deployment

Synopsis

Notify New Relic about app deployments

Parameters

NameTypeRequiredDefaultDescription
app_namestringThe value of C(app_name) in the C(newrelic.yml) file used by the application. One of O(app_name) or O(application_id) is required.
app_name_exact_matchboolfalseIf this flag is set to V(true) then the application ID lookup by name would only work for an exact match. If set to V(false) it returns the first result.
application_idstringThe application ID found in the metadata of the application in APM. One of O(app_name) or O(application_id) is required.
changelogstringA list of changes for this deployment.
descriptionstringText annotation for the deployment - notes for you.
revisionstringyesA revision number (for example, git commit SHA).
tokenstringyesAPI token to place in the Api-Key header.
userstringThe name of the user/process that triggered this deployment.
validate_certsbooltrueIf V(false), SSL certificates are not validated. This should only be used on personally controlled sites using self-signed certificates.

Example

yaml
- name: Notify New Relic about an app deployment
  community.general.newrelic_deployment:
    token: AAAAAA
    app_name: myapp
    user: ansible deployment
    revision: '1.0'
Search
    ↑ ↓ move↵ openesc close