rabbitmq_user

Collection: community.general

Full Name: parallax.community.general.rabbitmq_user

Aliases: community.general.rabbitmq_user, rabbitmq_user

Synopsis

Manage RabbitMQ users, tags and permissions

Parameters

NameTypeRequiredDefaultDescription
userstringyesName of the RabbitMQ user
passwordstringPassword for the user
tagsstringComma-separated list of tags for the user
vhoststring/Vhost to apply permissions to
statestringpresentState of the user Choices: present, absent
configure_privstring.*Regular expression for configure permission
write_privstring.*Regular expression for write permission
read_privstring.*Regular expression for read permission
nodestringErlang node name of the rabbit we wish to configure
forceboolfalseForce user update

Example

- name: Create a RabbitMQ user scoped to one vhost
  rabbitmq_user:
    user: app
    password: "{{ rabbit_app_password }}"
    vhost: /app
    configure_priv: .*
    read_priv: .*
    write_priv: .*
    state: present