]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/blob - README.md
updated all tasks, cleaned up formatting
[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 Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
10
11 Role Variables
12 --------------
13 define in one host_vars/host config to designate the master_rabbit_node
14 ````
15 master_rabbit_node: true
16 ````
17
18 ````
19 enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group
20 config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group
21 master_rabbit_node: false #defines if node should be considered master...define as true in one host in host_vars/host out of all nodes to be part of cluster
22 rabbitmq_config:
23 - queue_name: logstash
24 durable: true
25 exchange_name: logstash
26 type: fanout
27 routing_key: logstash
28 tags: 'ha-mode=all,ha-sync-mode=automatic'
29 ````
30
31 Dependencies
32 ------------
33
34 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.
35
36 Example Playbook
37 ----------------
38
39 Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
40
41 - hosts: servers
42 roles:
43 - { role: mrlesmithjr.rabbitmq }
44
45 License
46 -------
47
48 BSD
49
50 Author Information
51 ------------------
52
53 Larry Smith Jr.
54 - @mrlesmithjr
55 - http://everythingshouldbevirtual.com
56 - mrlesmithjr [at] gmail.com