]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/blame - README.md
updated setting erlang cookie method
[github/fretlink/ansible-rabbitmq.git] / README.md
CommitLineData
eb299d9b
LSJ
1Role Name
2=========
3
a06e4a79 4Installs rabbitmq https://www.rabbitmq.com/ (Configurable...HA and Clustering ready)
eb299d9b
LSJ
5
6Requirements
7------------
8
71120079 9Ensure hostnames are resolvable prior to clustering...either update /etc/hosts or ensure DNS is working.
eb299d9b
LSJ
10
11Role Variables
12--------------
13
14````
a290f6cf 15config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group
9658075b
LSJ
16enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group
17erlang_cookie: LSKNKBELKPSTDBBCHETL #define erlang cookie for cluster...define here or in group_vars/group
a290f6cf
LSJ
18rabbitmq_config:
19 - queue_name: logstash
20 durable: true
21 exchange_name: logstash
22 type: fanout
23 routing_key: logstash
24 tags: 'ha-mode=all,ha-sync-mode=automatic'
9658075b
LSJ
25rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group
26````
27
28example...
29group_vars/rabbitmq-cluster-nodes
30````
31---
32enable_rabbitmq_clustering: true
33config_rabbitmq_ha: false
34rabbitmq_master: ans-test-1
eb299d9b
LSJ
35````
36
37Dependencies
38------------
39
40A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
41
42Example Playbook
43----------------
44
45Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
46
47 - hosts: servers
48 roles:
49 - { role: mrlesmithjr.rabbitmq }
50
51License
52-------
53
54BSD
55
56Author Information
57------------------
58
59Larry Smith Jr.
60- @mrlesmithjr
61- http://everythingshouldbevirtual.com
62- mrlesmithjr [at] gmail.com