From 6f6927380e3e34e9810f2f803484a0e4ae89d582 Mon Sep 17 00:00:00 2001 From: Maxime Montinet Date: Thu, 5 May 2016 14:43:36 +0200 Subject: [PATCH] rabbitmq_user: Properly initialize _permissions (#2163) Fixes #2162 --- 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 85921ce45c..2e902eaa69 100644 --- a/lib/ansible/modules/extras/messaging/rabbitmq_user.py +++ b/lib/ansible/modules/extras/messaging/rabbitmq_user.py @@ -139,7 +139,7 @@ class RabbitMqUser(object): self.bulk_permissions = bulk_permissions self._tags = None - self._permissions = None + self._permissions = [] self._rabbitmqctl = module.get_bin_path('rabbitmqctl', True) def _exec(self, args, run_in_check_mode=False):