From 73c39c3aafe6e1a0cd67a49f015289867250d944 Mon Sep 17 00:00:00 2001 From: Manuel Sousa Date: Thu, 25 Aug 2016 17:46:33 +0100 Subject: [PATCH] rabbitmq_queue - Update requirements to show minimum version of requests (#2786) --- lib/ansible/modules/extras/messaging/rabbitmq_queue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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']))