rabbitmq_exchange - Update requirements to show minimum version of requests (#2785)

reviewable/pr18780/r1
Manuel Sousa 8 years ago committed by René Moser
parent 85b8615af5
commit e5cf5137cf

@ -28,7 +28,7 @@ version_added: "2.0"
short_description: This module manages rabbitMQ exchanges short_description: This module manages rabbitMQ exchanges
description: description:
- This module uses rabbitMQ Rest API to create/delete exchanges - This module uses rabbitMQ Rest API to create/delete exchanges
requirements: [ python requests ] requirements: [ "requests >= 1.0.0" ]
options: options:
name: name:
description: description:
@ -135,7 +135,7 @@ def main():
urllib.quote(module.params['vhost'],''), urllib.quote(module.params['vhost'],''),
urllib.quote(module.params['name'],'') urllib.quote(module.params['name'],'')
) )
# Check if exchange already exists # Check if exchange already exists
r = requests.get( url, auth=(module.params['login_user'],module.params['login_password'])) r = requests.get( url, auth=(module.params['login_user'],module.params['login_password']))

Loading…
Cancel
Save