ansible-collections / community.rabbitmq

Manage RabbitMQ with Ansible
http://galaxy.ansible.com/community/rabbitmq
Other
31 stars 47 forks source link

Declare default queue type when creating a new virtual host #166

Open zenhighzer opened 7 months ago

zenhighzer commented 7 months ago
SUMMARY

Declare default queue type when creating a new virtual host

ISSUE TYPE
COMPONENT NAME

rabbitmq_vhost module

ADDITIONAL INFORMATION

RabbitMQ Docs: https://rabbitmq-website.pages.dev/docs/vhosts#default-queue-type

grafik

Maybe an ansible-example could look like this:

- name: Ensure that the vhost /test exists.
  community.rabbitmq.rabbitmq_vhost:
    name: /test
    state: present
    default_queue_type: "quorum"