Skip to content

Stouts/Stouts.rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stouts.rabbitmq

Build Status Galaxy

Ansible role which manage RabbitMQ.

Variables

rabbitmq_enabled: yes

rabbitmq_plugins:                       # Ensure the plugins is installed
  - rabbitmq_management

rabbitmq_users:                         # Ensure the users added
  - user: admin
    password: admin
    vhost: /
    configure_priv: .*
    read_priv: .*
    write_priv: .*
    tags: administrator

rabbitmq_vhosts: []                     # Ensure the vhosts are exists

rabbitmq_users_remove:                  # Ensure the users removed
  - guest

Usage

Add Stouts.rabbitmq to your roles and set vars in your playbook file.

Example:

- hosts: all

  roles:
    - Stouts.rabbitmq

  vars:
    rabbitmq_vhosts: [myhost]

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!