kolla-ansible/ansible/rabbitmq-reset-state.yml
Matt Crees 60282285bd Add command to force reset the state of RabbitMQ
This command can be invoked with ``kolla-ansible rabbitmq-reset-state``.
This is primarily designed to be used when enabling HA queues[1].

As such, this also updates the RabbitMQ documentation to use this
command.

[1] https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rabbitmq.html#high-availability

Change-Id: I6ad95a3618fc1a34af56657ef99ef14dc979f17a
2023-08-25 10:09:58 +00:00

11 lines
227 B
YAML

---
- name: Reset RabbitMQ state
hosts: rabbitmq
tasks:
- name: Include RabbitMQ reset-state tasks
include_role:
name: rabbitmq
tasks_from: reset-state
when:
- enable_rabbitmq | bool