ansible / 2.4.6 / rabbitmq_vhost_module.html /

rabbitmq_vhost - Manage the state of a virtual host in RabbitMQ

Synopsis

  • Manage the state of a virtual host in RabbitMQ

Options

parameter required default choices comments
name
yes
The name of the vhost to manage
aliases: vhost
node
no rabbit
erlang node name of the rabbit we wish to configure
state
no present
  • present
  • absent
The state of vhost
tracing
no no
  • yes
  • no
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.

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.

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