community.rabbitmq.rabbitmq_upgrade (1.3.0) — module

Execute rabbitmq-upgrade commands

| "added in version" 1.1.0 of community.rabbitmq"

Authors: Damian Dabrowski (@damiandabrowski5)

Install collection

Install with ansible-galaxy collection install community.rabbitmq:==1.3.0


Add to requirements.yml

  collections:
    - name: community.rabbitmq
      version: 1.3.0

Description

Allows to execute rabbitmq-upgrade commands

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Drain 'rabbit@node-1' node (in other words, put it into maintenance mode)
  community.rabbitmq.rabbitmq_upgrade:
    action: drain
    node: rabbit@node-1

Inputs

    
node:
    default: rabbit
    description:
    - Erlang node name of the target rabbit node.
    required: false
    type: str

action:
    choices:
    - await_online_quorum_plus_one
    - await_online_synchronized_mirror
    - post_upgrade
    - drain
    - revive
    description:
    - Specify action to be executed.
    required: true
    type: str