Change version and remove result="success"

reviewable/pr18780/r1
Manuel Sousa 11 years ago
parent fa97d665b9
commit e87422ee96

@ -3,7 +3,7 @@
DOCUMENTATION = ''' DOCUMENTATION = '''
module: rabbitmq_binding module: rabbitmq_binding
author: Manuel Sousa author: Manuel Sousa
version_added: 1.5.4 version_added: 2.0
short_description: This module manages rabbitMQ bindings short_description: This module manages rabbitMQ bindings
description: description:
@ -132,7 +132,6 @@ def main():
if module.check_mode: if module.check_mode:
module.exit_json( module.exit_json(
changed= changeRequired, changed= changeRequired,
result = "Success",
name = module.params['name'], name = module.params['name'],
details = response, details = response,
arguments = module.params['arguments'] arguments = module.params['arguments']
@ -165,7 +164,6 @@ def main():
if r.status_code == 204 or r.status_code == 201: if r.status_code == 204 or r.status_code == 201:
module.exit_json( module.exit_json(
changed = True, changed = True,
result = "Success",
name = module.params['name'], name = module.params['name'],
destination = module.params['destination'] destination = module.params['destination']
) )
@ -179,7 +177,6 @@ def main():
else: else:
module.exit_json( module.exit_json(
changed = False, changed = False,
result = "Success",
name = module.params['name'] name = module.params['name']
) )

Loading…
Cancel
Save