Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

SimpliField/ansible-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rabbitmq Build Status Ansible Role

Setup rabbitmq

Requirements

Need ansible 2+

Role Variables

rabbitmq_vhosts:
- name:    vhost1
  node:    node_name # Optional, defaults to "rabbit"
  tracing: yes # Optional, defaults to "no"

rabbitmq_users:
- vhost: vhost1
  user: user1
  password: password1
  node: node_name # Optional, defaults to "rabbit"
  configure_priv: "^resource.*" # Optional, defaults to ".*"
  read_priv: "^$" # Disallow reading.
  write_priv: "^$" # Disallow writing.
- vhost: vhost1
  user: user2
  password: password2
  force: no
  tags: # Optional, user tags
  - administrator
rabbitmq_erlang_cookie: mycustomcookie
rabbitmq_erlang_cookie_path: "/var/lib/rabbitmq/.erlang.cookie"

Dependencies

This role use :

Example Playbook

- hosts: servers
  roles:
  - { role: SimpliField.rabbitmq }

License

BSD