rabbitmq_vhost_limits – Manage the state of virtual host limits in RabbitMQ
From Get docs
Ansible/docs/2.8/modules/rabbitmq vhost limits module
rabbitmq_vhost_limits – Manage the state of virtual host limits in RabbitMQ
New in version 2.8.
Synopsis
- This module sets/clears certain limits on a virtual host.
- The configurable limits are max_connections and max-queues.
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
max_connections - |
Default: -1 |
Max number of concurrent client connections. Negative value means "no limit". Ignored when the state is |
max_queues - |
Default: -1 |
Max number of queues. Negative value means "no limit". Ignored when the state is |
node - |
Name of the RabbitMQ Erlang node to manage. | |
state - |
|
Specify whether the limits are to be set or cleared. If set to |
vhost - |
Default: "/" |
Name of the virtual host to manage. |
Examples
# Limit both of the max number of connections and queues on the vhost '/'.
- rabbitmq_vhost_limits:
vhost: /
max_connections: 64
max_queues: 256
state: present
# Limit the max number of connections on the vhost '/'.
# This task implicitly clears the max number of queues limit using default value: -1.
- rabbitmq_vhost_limits:
vhost: /
max_connections: 64
state: present
# Clear the limits on the vhost '/'.
- rabbitmq_vhost_limits:
vhost: /
state: absent
Status
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors
- Hiroyuki Matsuo (@h-matsuo)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/modules/rabbitmq_vhost_limits_module.html