]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/blame - README.md
added missing vars
[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
9Any 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
11Role Variables
12--------------
a290f6cf
LSJ
13define in one host_vars/host config to designate the master_rabbit_node
14````
15master_rabbit_node: true
16````
eb299d9b
LSJ
17
18````
a290f6cf
LSJ
19enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group
20config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group
21master_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
22rabbitmq_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'
eb299d9b
LSJ
29````
30
31Dependencies
32------------
33
34A 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
36Example Playbook
37----------------
38
39Including 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
45License
46-------
47
48BSD
49
50Author Information
51------------------
52
53Larry Smith Jr.
54- @mrlesmithjr
55- http://everythingshouldbevirtual.com
56- mrlesmithjr [at] gmail.com