1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

rabbitmq_user: Properly initialize _permissions (#2163)

Fixes #2162
This commit is contained in:
Maxime Montinet 2016-05-05 14:43:36 +02:00 committed by Matt Clay
parent 9e9535fd8c
commit 6f6927380e

View file

@ -139,7 +139,7 @@ class RabbitMqUser(object):
self.bulk_permissions = bulk_permissions self.bulk_permissions = bulk_permissions
self._tags = None self._tags = None
self._permissions = None self._permissions = []
self._rabbitmqctl = module.get_bin_path('rabbitmqctl', True) self._rabbitmqctl = module.get_bin_path('rabbitmqctl', True)
def _exec(self, args, run_in_check_mode=False): def _exec(self, args, run_in_check_mode=False):