From 93f90e27f24275f9ccca908a2d77543dfa9bb379 Mon Sep 17 00:00:00 2001 From: Larry Smith Jr Date: Sun, 9 Aug 2015 22:38:04 -0400 Subject: updated exchange type --- README.md | 3 ++- defaults/main.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d1266a..a4a7c45 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,12 @@ Role Variables config_rabbitmq_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group enable_rabbitmq_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group erlang_cookie: LSKNKBELKPSTDBBCHETL #define erlang cookie for cluster...define here or in group_vars/group +erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie rabbitmq_config: - queue_name: logstash durable: true exchange_name: logstash - type: fanout + type: direct routing_key: logstash tags: 'ha-mode=all,ha-sync-mode=automatic' rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group diff --git a/defaults/main.yml b/defaults/main.yml index e0f06a5..7f7b33c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -8,7 +8,7 @@ rabbitmq_config: - queue_name: logstash durable: true exchange_name: logstash - type: fanout + type: direct routing_key: logstash tags: 'ha-mode=all,ha-sync-mode=automatic' rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group -- cgit v1.2.3