fix false positive changed flag in rabbitmq_user module (#22507)

pull/23683/head
Krzysztof Magosa 8 years ago committed by ansibot
parent 1bc5761bea
commit 4522a53acf

@ -234,7 +234,7 @@ class RabbitMqUser(object):
return set(self.tags) != set(self._tags)
def has_permissions_modifications(self):
return self._permissions != self.permissions
return sorted(self._permissions) != sorted(self.permissions)
def main():
arg_spec = dict(

Loading…
Cancel
Save