Fix idempotence in rabbitmq_plugin (#52166)
* Fix idempotence in rabbitmq_plugin * Add changelog fragment
This commit is contained in:
parent
d3fcdae4ad
commit
540b07b884
2 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue