community.general.rabbitmq_vhost (0.1.1) — module

Manage the state of a virtual host in RabbitMQ

Authors: Chris Hoffman (@chrishoffman)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

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

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