aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorLarry Smith Jr <larry.e.smith.jr@gmail.com>2015-08-06 21:32:09 -0400
committerLarry Smith Jr <larry.e.smith.jr@gmail.com>2015-08-06 21:32:09 -0400
commit9658075b826dbf1206e7d9f689b242acfeb61b3d (patch)
treeb3f3aeaf997adf647e31244d2088e91621f5d18d /README.md
parent021cbc496a7afb9b1f0e80bb56b0c11ef3de127d (diff)
downloadansible-rabbitmq-9658075b826dbf1206e7d9f689b242acfeb61b3d.tar.gz
ansible-rabbitmq-9658075b826dbf1206e7d9f689b242acfeb61b3d.tar.zst
ansible-rabbitmq-9658075b826dbf1206e7d9f689b242acfeb61b3d.zip
changed method of determining master node
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 12 insertions, 6 deletions
diff --git a/README.md b/README.md
index 88f3c94..28b2b03 100644
--- a/README.md
+++ b/README.md
@@ -10,15 +10,11 @@ Any pre-requisites that may not be covered by Ansible itself or the role should
10 10
11Role Variables 11Role Variables
12-------------- 12--------------
13define in one host_vars/host config to designate the master_rabbit_node
14````
15master_rabbit_node: true
16````
17 13
18```` 14````
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 15config_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 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
22rabbitmq_config: 18rabbitmq_config:
23 - queue_name: logstash 19 - queue_name: logstash
24 durable: true 20 durable: true
@@ -26,6 +22,16 @@ rabbitmq_config:
26 type: fanout 22 type: fanout
27 routing_key: logstash 23 routing_key: logstash
28 tags: 'ha-mode=all,ha-sync-mode=automatic' 24 tags: 'ha-mode=all,ha-sync-mode=automatic'
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
29```` 35````
30 36
31Dependencies 37Dependencies