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

This commit is contained in:
Krzysztof Magosa 2017-06-19 11:10:23 +02:00 committed by ansibot
parent 1bc5761bea
commit 4522a53acf

View file

@ -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(