Fix idempotence in rabbitmq_plugin (#52166)

* Fix idempotence in rabbitmq_plugin

* Add changelog fragment

(cherry picked from commit 540b07b884)
pull/53047/head
rockandska 6 years ago committed by Toshio Kuratomi
parent 8fba0ab199
commit affba46115

@ -0,0 +1,3 @@
bugfixes:
- Fix rabbitmq_plugin idempotence due to information message in new version of rabbitmq
(https://github.com/ansible/ansible/pull/52166)

@ -141,6 +141,8 @@ def main():
if state == 'enabled':
if not new_only:
for plugin in enabled_plugins:
if " " in plugin:
continue
if plugin not in names:
rabbitmq_plugins.disable(plugin)
disabled.append(plugin)

Loading…
Cancel
Save