Rename source to source_system and remove it from the documentation.

reviewable/pr18780/r1
Shahar Kedar 11 years ago committed by Michael DeHaan
parent 83e20b1484
commit b5544a1bd0

@ -44,11 +44,6 @@ options:
description:
- Free text description of the deployment.
required: false
source:
description:
- The system that triggered the event.
required: false
default: 'ansible'
url:
description:
- Base URL of the API server.
@ -104,7 +99,7 @@ def main():
owner=dict(required=False),
description=dict(required=False),
message=dict(required=False),
source=dict(required=False, default='ansible'),
source_system=dict(required=False, default='ansible'),
validate_certs=dict(default='yes', type='bool'),
url=dict(required=False, default='https://api.bigpanda.io'),
),
@ -128,7 +123,7 @@ def main():
# Insert state-specific attributes to body
if state == 'started':
for k in ('source', 'env', 'owner', 'description'):
for k in ('source_system', 'env', 'owner', 'description'):
v = module.params[k]
if v is not None:
body[k] = v

Loading…
Cancel
Save