community / community.general / 6.6.8 / module / newrelic_deployment Notify New Relic about app deployments Authors: Matt Coddington (@mcodd)community.general.newrelic_deployment (6.6.8) — module
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
Notify New Relic about app deployments (see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/record-monitor-deployments/)
- name: Notify New Relic about an app deployment community.general.newrelic_deployment: token: AAAAAA app_name: myapp user: ansible deployment revision: '1.0'
user: description: - The name of the user/process that triggered this deployment required: false type: str token: description: - API token to place in the Api-Key header. required: true type: str appname: description: - Name of the application. - This option has been deprecated and will be removed in community.general 7.0.0. Please do not use. required: false type: str app_name: description: - The value of app_name in the newrelic.yml file used by the application. - One of I(app_name) or I(application_id) is required. required: false type: str revision: description: - A revision number (e.g., git commit SHA) required: true type: str changelog: description: - A list of changes for this deployment required: false type: str description: description: - Text annotation for the deployment - notes for you required: false type: str environment: description: - The environment for this deployment. - This option has been deprecated and will be removed community.general 7.0.0. Please do not use. required: false type: str application_id: description: - The application ID found in the metadata of the application in APM. - One of I(app_name) or I(application_id) is required. required: false type: str validate_certs: default: true description: - If C(false), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false type: bool