aboutsummaryrefslogtreecommitdiffhomepage
path: root/defaults
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2017-05-20 21:19:34 -0400
committerLarry Smith Jr <mrlesmithjr@gmail.com>2017-05-20 21:19:34 -0400
commita67dde50f26e0f76d91f0744e8e8341dac95dae2 (patch)
tree2971e931788eddf51b9ec71ac063bfb951215d0c /defaults
parentf36f2edd9429200fbd18eeecfbba4b5fe891f26d (diff)
downloadansible-rabbitmq-enhancements/issues-9-10-11.tar.gz
ansible-rabbitmq-enhancements/issues-9-10-11.tar.zst
ansible-rabbitmq-enhancements/issues-9-10-11.zip
Cleaned up code as part of issue #10enhancements/issues-9-10-11
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
Diffstat (limited to 'defaults')
-rw-r--r--defaults/main.yml47
1 files changed, 34 insertions, 13 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index ad22ead..90d7fb5 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,28 +1,49 @@
1--- 1---
2# defaults file for ansible-rabbitmq 2# defaults file for ansible-rabbitmq
3rabbitmq_config: 3rabbitmq_config: []
4 - queue_name: 'logstash' 4 # - queue_name: 'logstash'
5 durable: true 5 # durable: true
6 exchange_name: logstash 6 # exchange_name: logstash
7 type: 'direct' 7 # type: 'direct'
8 routing_key: 'logstash' 8 # routing_key: 'logstash'
9 tags: 'ha-mode=all,ha-sync-mode=automatic' 9 # tags: 'ha-mode=all,ha-sync-mode=automatic'
10rabbitmq_config_ha: false #defines if rabbitmq ha should be configured...define here or in group_vars/group 10
11# Defines if rabbitmq ha should be configured
12rabbitmq_config_ha: false
13
14rabbitmq_config_service: false
15
11rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' 16rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main'
12rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' 17rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc'
13rabbitmq_enable_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group 18
14rabbitmq_erlang_cookie: 'LSKNKBELKPSTDBBCHETL' #define erlang cookie for cluster...define here or in group_vars/group 19# Defines if setting up a rabbitmq cluster
20rabbitmq_enable_clustering: false
21
15rabbitmq_erlang_cookie_file: '/var/lib/rabbitmq/.erlang.cookie' 22rabbitmq_erlang_cookie_file: '/var/lib/rabbitmq/.erlang.cookie'
16rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group 23
24rabbitmq_listen_port: 5672
25rabbitmq_listeners: []
26 # - '127.0.0.1'
27 # - '::1'
28
29# Defines the inventory host that should be considered master
30rabbitmq_master: []
31
17rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc' 32rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc'
18rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm' 33rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm'
19rabbitmq_redhat_url: 'http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}' 34rabbitmq_redhat_url: 'http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}'
20rabbitmq_redhat_version: '3.6.1' 35rabbitmq_redhat_version: '3.6.1'
21rabbitmq_users: #define admin user to create in order to login to WebUI 36
37# Define admin user to create in order to login to WebUI
38rabbitmq_users:
22 - name: 'rabbitmqadmin' 39 - name: 'rabbitmqadmin'
23 password: 'rabbitmqadmin' 40 password: 'rabbitmqadmin'
24 vhost: '/' 41 vhost: '/'
25 configure_priv: '.*' 42 configure_priv: '.*'
26 read_priv: '.*' 43 read_priv: '.*'
27 write_priv: '.*' 44 write_priv: '.*'
28 tags: 'administrator' #define comma separated list of tags to assign to user....management,policymaker,monitoring,administrator...required for management plugin. https://www.rabbitmq.com/management.html 45 # Define comma separated list of tags to assign to user:
46 # management,policymaker,monitoring,administrator
47 # required for management plugin.
48 # https://www.rabbitmq.com/management.html
49 tags: 'administrator'