]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/blob - README.md
a4a7c45efa0b8b1791decf71aabdd61134b54dd8
[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 erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie
19 rabbitmq_config:
20 - queue_name: logstash
21 durable: true
22 exchange_name: logstash
23 type: direct
24 routing_key: logstash
25 tags: 'ha-mode=all,ha-sync-mode=automatic'
26 rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group
27 ````
28
29 example...
30 group_vars/rabbitmq-cluster-nodes
31 ````
32 ---
33 enable_rabbitmq_clustering: true
34 config_rabbitmq_ha: false
35 rabbitmq_master: ans-test-1
36 ````
37
38 Dependencies
39 ------------
40
41 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.
42
43 Example Playbook
44 ----------------
45
46 Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
47
48 - hosts: servers
49 roles:
50 - { role: mrlesmithjr.rabbitmq }
51
52 License
53 -------
54
55 BSD
56
57 Author Information
58 ------------------
59
60 Larry Smith Jr.
61 - @mrlesmithjr
62 - http://everythingshouldbevirtual.com
63 - mrlesmithjr [at] gmail.com