Fix idempotence in rabbitmq_plugin (#52166)

* Fix idempotence in rabbitmq_plugin

* Add changelog fragment
pull/52814/head
rockandska 6 years ago committed by John R Barker
parent d3fcdae4ad
commit 540b07b884

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

@ -154,6 +154,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