community.rabbitmq.rabbitmq_upgrade module – Execute rabbitmq-upgrade commands
This module is part of the community.rabbitmq collection (version 1.2.3).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.rabbitmq.
To use it in a playbook, specify:
New in community.rabbitmq 1.1.0
Allows to execute rabbitmq-upgrade commands
Specify action to be executed.
Erlang node name of the target rabbit node.
- name: Drain 'rabbit@node-1' node (in other words, put it into maintenance mode) community.rabbitmq.rabbitmq_upgrade: action: drain node: rabbit@node-1