ansible.builtin.rabbitmq_vhost (v2.9.27) — module

Manage the state of a virtual host in RabbitMQ

| "added in version" 1.1 of ansible.builtin"

Authors: Chris Hoffman (@chrishoffman)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Manage the state of a virtual host in RabbitMQ

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Ensure that the vhost /test exists.
- rabbitmq_vhost:
    name: /test
    state: present

Inputs

    
name:
    aliases:
    - vhost
    description:
    - The name of the vhost to manage
    required: true

node:
    default: rabbit
    description:
    - erlang node name of the rabbit we wish to configure
    version_added: '1.2'
    version_added_collection: ansible.builtin

state:
    choices:
    - present
    - absent
    default: present
    description:
    - The state of vhost

tracing:
    aliases:
    - trace
    default: 'no'
    description:
    - Enable/disable tracing for a vhost
    type: bool