|
|
@ -3,7 +3,7 @@
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
module: rabbitmq_queue
|
|
|
|
module: rabbitmq_queue
|
|
|
|
author: Manuel Sousa
|
|
|
|
author: Manuel Sousa
|
|
|
|
version_added: 1.5.4
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
|
|
|
|
short_description: This module manages rabbitMQ queues
|
|
|
|
short_description: This module manages rabbitMQ queues
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -188,7 +188,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']
|
|
|
@ -213,7 +212,6 @@ def main():
|
|
|
|
if r.status_code == 204:
|
|
|
|
if r.status_code == 204:
|
|
|
|
module.exit_json(
|
|
|
|
module.exit_json(
|
|
|
|
changed = True,
|
|
|
|
changed = True,
|
|
|
|
result = "Success",
|
|
|
|
|
|
|
|
name = module.params['name']
|
|
|
|
name = module.params['name']
|
|
|
|
)
|
|
|
|
)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
@ -226,7 +224,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']
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|