You are reading an older version of the Ansible documentation. Use the version selection to the left if you want the latest stable released version.
rabbitmq_vhost – Manage the state of a virtual host in RabbitMQ
- Manage the state of a virtual host in RabbitMQ
Parameter |
Choices/Defaults |
Comments |
name
-
/ required
|
|
The name of the vhost to manage
aliases: vhost
|
node
-
|
Default:
"rabbit"
|
erlang node name of the rabbit we wish to configure
|
state
-
|
Choices:
present ←
- absent
|
The state of vhost
|
tracing
boolean
|
|
Enable/disable tracing for a vhost
aliases: trace
|
# Ensure that the vhost /test exists.
- rabbitmq_vhost:
name: /test
state: present
Authors
- Chris Hoffman (@chrishoffman)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.