From f7c732ad343293629819952287f9d50ff7081632 Mon Sep 17 00:00:00 2001 From: Manuel Sousa Date: Thu, 25 Aug 2016 17:45:17 +0100 Subject: [PATCH] rabbitmq_exchange - Update requirements to show minimum version of requests (#2785) --- lib/ansible/modules/extras/messaging/rabbitmq_exchange.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/messaging/rabbitmq_exchange.py b/lib/ansible/modules/extras/messaging/rabbitmq_exchange.py index 55440524b6f..d69a536bfee 100644 --- a/lib/ansible/modules/extras/messaging/rabbitmq_exchange.py +++ b/lib/ansible/modules/extras/messaging/rabbitmq_exchange.py @@ -8,7 +8,7 @@ version_added: "2.0" short_description: This module manages rabbitMQ exchanges description: - This module uses rabbitMQ Rest API to create/delete exchanges -requirements: [ python requests ] +requirements: [ "requests >= 1.0.0" ] options: name: description: @@ -115,7 +115,7 @@ def main(): urllib.quote(module.params['vhost'],''), module.params['name'] ) - + # Check if exchange already exists r = requests.get( url, auth=(module.params['login_user'],module.params['login_password']))