1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Rename source to source_system and remove it from the documentation.

This commit is contained in:
Shahar Kedar 2014-05-26 11:41:05 +03:00 committed by Michael DeHaan
parent 4c9f431792
commit d169b075e1

View file

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