From f435390ddecca58fe4654014ac14bd4e37739d3b Mon Sep 17 00:00:00 2001 From: Manuel Sousa Date: Fri, 8 May 2015 17:30:41 +0100 Subject: [PATCH] Change version and remove result="success" --- lib/ansible/modules/extras/messaging/rabbitmq_binding.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ansible/modules/extras/messaging/rabbitmq_binding.py b/lib/ansible/modules/extras/messaging/rabbitmq_binding.py index 17433ecdd22..731e52ba969 100644 --- a/lib/ansible/modules/extras/messaging/rabbitmq_binding.py +++ b/lib/ansible/modules/extras/messaging/rabbitmq_binding.py @@ -3,7 +3,7 @@ DOCUMENTATION = ''' module: rabbitmq_binding author: Manuel Sousa -version_added: 1.5.4 +version_added: 2.0 short_description: This module manages rabbitMQ bindings description: @@ -132,7 +132,6 @@ def main(): if module.check_mode: module.exit_json( changed= changeRequired, - result = "Success", name = module.params['name'], details = response, arguments = module.params['arguments'] @@ -165,7 +164,6 @@ def main(): if r.status_code == 204 or r.status_code == 201: module.exit_json( changed = True, - result = "Success", name = module.params['name'], destination = module.params['destination'] ) @@ -179,7 +177,6 @@ def main(): else: module.exit_json( changed = False, - result = "Success", name = module.params['name'] )