Skip to content

ToReforge/Stouts.rabbitmq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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
    permissions:
      - vhost: /
        configure_priv: .*
        read_priv: .*
        write_priv: .*
    tags: administrator

rabbitmq_vhosts: []                     # Ensure the vhosts are exists

rabbitmq_vhosts_node: rabbit@{{ansible_hostname}} # Name of the node to apply the vhosts

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!

About

Ansible role which manage RabbitMQ

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 100.0%