Merge pull request #514 from stansonhealth/newrelic_updates

Newrelic documentation, argspec updates
This commit is contained in:
Toshio Kuratomi 2015-05-20 20:09:54 -07:00
commit 24390f1ac6

View file

@ -25,11 +25,11 @@ version_added: "1.2"
author: '"Matt Coddington (@mcodd)" <coddington@gmail.com>'
short_description: Notify newrelic about app deployments
description:
- Notify newrelic about app deployments (see http://newrelic.github.io/newrelic_api/NewRelicApi/Deployment.html)
- Notify newrelic about app deployments (see https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/deployment-notifications#api)
options:
token:
description:
- API token.
- API token, to place in the x-api-key header.
required: true
app_name:
description:
@ -102,6 +102,7 @@ def main():
environment=dict(required=False),
validate_certs = dict(default='yes', type='bool'),
),
required_one_of=[['app_name', 'application_id']],
supports_check_mode=True
)