mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-24 23:46:32 +00:00
rabbitmq_exchange - Update requirements to show minimum version of requests (#2785)
This commit is contained in:
@@ -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']))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user