rabbitmq_vhost - Manage the state of a virtual host in RabbitMQ

Synopsis

  • Manage the state of a virtual host in RabbitMQ

Parameters

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
bool
    Choices:
  • no
  • yes
Enable/disable tracing for a vhost

aliases: trace

Examples

# Ensure that the vhost /test exists.
- rabbitmq_vhost:
    name: /test
    state: present

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Maintenance

This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.

For a list of other modules that are also maintained by the Ansible Community, see here.

Author

  • “Chris Hoffman (@choffman)”

Hint

If you notice any issues in this documentation you can edit this document to improve it.

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.6/modules/rabbitmq_vhost_module.html