From 6c07f42b8d1761f7ec002900e22a774c317b0c65 Mon Sep 17 00:00:00 2001 From: Brad Wilson Date: Mon, 15 Feb 2016 13:11:02 -0800 Subject: [PATCH] Issue #1668: rabbitmq_user: Ansible HEAD incorrectly treats permissions as a string instead of a list --- lib/ansible/modules/extras/messaging/rabbitmq_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/messaging/rabbitmq_user.py b/lib/ansible/modules/extras/messaging/rabbitmq_user.py index 3714bc3099d..ba77e47c998 100644 --- a/lib/ansible/modules/extras/messaging/rabbitmq_user.py +++ b/lib/ansible/modules/extras/messaging/rabbitmq_user.py @@ -228,7 +228,7 @@ def main(): user=dict(required=True, aliases=['username', 'name']), password=dict(default=None), tags=dict(default=None), - permissions=dict(default=list()), + permissions=dict(default=list(), type='list'), vhost=dict(default='/'), configure_priv=dict(default='^$'), write_priv=dict(default='^$'),