]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/blob - README.md
updated setting erlang cookie method
[github/fretlink/ansible-rabbitmq.git] / README.md
1 Role Name
2 =========
3
4 Installs rabbitmq https://www.rabbitmq.com/ (Configurable...HA and Clustering ready)
5
6 Requirements
7 ------------
8
9 Ensure hostnames are resolvable prior to clustering...either update /etc/hosts or ensure DNS is working.
10
11 Role Variables
12 --------------
13
14 ````
15 config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group
16 enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group
17 erlang_cookie: LSKNKBELKPSTDBBCHETL #define erlang cookie for cluster...define here or in group_vars/group
18 rabbitmq_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'
25 rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group
26 ````
27
28 example...
29 group_vars/rabbitmq-cluster-nodes
30 ````
31 ---
32 enable_rabbitmq_clustering: true
33 config_rabbitmq_ha: false
34 rabbitmq_master: ans-test-1
35 ````
36
37 Dependencies
38 ------------
39
40 A 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
42 Example Playbook
43 ----------------
44
45 Including 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
51 License
52 -------
53
54 BSD
55
56 Author Information
57 ------------------
58
59 Larry Smith Jr.
60 - @mrlesmithjr
61 - http://everythingshouldbevirtual.com
62 - mrlesmithjr [at] gmail.com