diff --git a/lib/ansible/modules/extras/messaging/rabbitmq_queue.py b/lib/ansible/modules/extras/messaging/rabbitmq_queue.py index c8133c18942..c7c8b80250c 100644 --- a/lib/ansible/modules/extras/messaging/rabbitmq_queue.py +++ b/lib/ansible/modules/extras/messaging/rabbitmq_queue.py @@ -2,13 +2,13 @@ DOCUMENTATION = ''' module: rabbitmq_queue -author: "Manuel Sousa (@manuel-sousa)" +author: "Manuel Sousa (@manuel-sousa)" version_added: "2.0" short_description: This module manages rabbitMQ queues description: - This module uses rabbitMQ Rest API to create/delete queues -requirements: [ python requests ] +requirements: [ "requests >= 1.0.0" ] options: name: description: @@ -132,7 +132,7 @@ def main(): urllib.quote(module.params['vhost'],''), module.params['name'] ) - + # Check if queue already exists r = requests.get( url, auth=(module.params['login_user'],module.params['login_password']))