rabbitmq_user - Adds or removes users to RabbitMQ

Author:Chris Hoffman

Synopsis

New in version 1.1.

Add or remove users to RabbitMQ and assign permissions

Options

parameter required default choices comments
configure_priv no ^$
    Regular expression to restrict configure actions on a resource for the specified vhost.By default all actions are restricted.
    force no no
    • yes
    • no
    Deletes and recreates the user.
    node no rabbit
      erlang node name of the rabbit we wish to configure
      password no
        Password of user to add.To change the password of an existing user, you must also specify force=yes.
        read_priv no ^$
          Regular expression to restrict configure actions on a resource for the specified vhost.By default all actions are restricted.
          state no present
          • present
          • absent
          Specify if user is to be added or removed
          tags no
            User tags specified as comma delimited
            user yes
              Name of user to add
              vhost no /
                vhost to apply access privileges.
                write_priv no ^$
                  Regular expression to restrict configure actions on a resource for the specified vhost.By default all actions are restricted.

                  Examples


                  # Add user to server and assign full access control
                  - rabbitmq_user: user=joe
                                   password=changeme
                                   vhost=/
                                   configure_priv=.*
                                   read_priv=.*
                                   write_priv=.*
                                   state=present