Issue #1668: rabbitmq_user: Ansible HEAD incorrectly treats permissions as a string instead of a list

This commit is contained in:
Brad Wilson 2016-02-15 13:11:02 -08:00
parent d0c607c7a4
commit 0af9622891

View file

@ -228,7 +228,7 @@ def main():
user=dict(required=True, aliases=['username', 'name']), user=dict(required=True, aliases=['username', 'name']),
password=dict(default=None), password=dict(default=None),
tags=dict(default=None), tags=dict(default=None),
permissions=dict(default=list()), permissions=dict(default=list(), type='list'),
vhost=dict(default='/'), vhost=dict(default='/'),
configure_priv=dict(default='^$'), configure_priv=dict(default='^$'),
write_priv=dict(default='^$'), write_priv=dict(default='^$'),