|
|
@ -131,9 +131,9 @@ def main():
|
|
|
|
module.params['login_host'],
|
|
|
|
module.params['login_host'],
|
|
|
|
module.params['login_port'],
|
|
|
|
module.params['login_port'],
|
|
|
|
urllib.quote(module.params['vhost'],''),
|
|
|
|
urllib.quote(module.params['vhost'],''),
|
|
|
|
module.params['name'],
|
|
|
|
urllib.quote(module.params['name'],''),
|
|
|
|
dest_type,
|
|
|
|
dest_type,
|
|
|
|
module.params['destination'],
|
|
|
|
urllib.quote(module.params['destination'],''),
|
|
|
|
urllib.quote(module.params['routing_key'],'')
|
|
|
|
urllib.quote(module.params['routing_key'],'')
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -173,9 +173,9 @@ def main():
|
|
|
|
module.params['login_host'],
|
|
|
|
module.params['login_host'],
|
|
|
|
module.params['login_port'],
|
|
|
|
module.params['login_port'],
|
|
|
|
urllib.quote(module.params['vhost'],''),
|
|
|
|
urllib.quote(module.params['vhost'],''),
|
|
|
|
module.params['name'],
|
|
|
|
urllib.quote(module.params['name'],''),
|
|
|
|
dest_type,
|
|
|
|
dest_type,
|
|
|
|
module.params['destination']
|
|
|
|
urllib.quote(module.params['destination'],'')
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
r = requests.post(
|
|
|
|
r = requests.post(
|
|
|
|