community.rabbitmq
community.rabbitmq copied to clipboard
Virtual host vhost does not exist (bug since 2018)
rabbitmq_user is broken. It works the first time to create a user, but any other re-runs generate an error. This is an old bug from 2018, with a fix that was never merged, please see the full bug report:
https://github.com/ansible/ansible/issues/48890
lots of other bug reports about this issue:
https://github.com/ansible/ansible/issues/67572 https://github.com/ansible/ansible/issues/66421 https://github.com/ansible/ansible/issues/49978
I've just hit this error myself with ansible 2.9.
Thank you.
This was fixed in https://github.com/ansible-collections/community.rabbitmq/issues/34
Probably this is another reason happening again, but Ansible 5.5.0 with RabbitMQ 3.9.14 is dropping the same error. "Error:", "Virtual host vhost does not exist"
The code has the change mentioned in #34