diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -10,10 +10,22 @@ Any pre-requisites that may not be covered by Ansible itself or the role should | |||
10 | 10 | ||
11 | Role Variables | 11 | Role Variables |
12 | -------------- | 12 | -------------- |
13 | define in one host_vars/host config to designate the master_rabbit_node | ||
14 | ```` | ||
15 | master_rabbit_node: true | ||
16 | ```` | ||
13 | 17 | ||
14 | ```` | 18 | ```` |
15 | enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster | 19 | enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group |
16 | config_rabbitmq_ha: false #defines if rabbitmq ha should be configured | 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' | ||
17 | ```` | 29 | ```` |
18 | 30 | ||
19 | Dependencies | 31 | Dependencies |