aboutsummaryrefslogtreecommitdiffhomepage
path: root/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'defaults/main.yml')
-rw-r--r--defaults/main.yml75
1 files changed, 39 insertions, 36 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 4a09ac9..f3d2c20 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,70 +1,73 @@
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"
10 # - policy_pattern: '.*' 10# - policy_pattern: ".*"
11 # vhost: 'apps' 11# vhost: apps
12 # tags: 'ha-mode=all,ha-sync-mode=automatic' 12# tags: "ha-mode=all,ha-sync-mode=automatic"
13 13
14# Defines if rabbitmq ha should be configured 14# Defines if rabbitmq ha should be configured
15rabbitmq_config_ha: false 15rabbitmq_config_ha: false
16 16
17rabbitmq_config_service: false 17rabbitmq_config_service: false
18rabbitmq_config_file: 'etc/rabbitmq/rabbitmq.config.j2' 18rabbitmq_config_file: etc/rabbitmq/rabbitmq.config.j2
19 19
20rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' 20# rabbitmq_debian_repo: deb http://www.rabbitmq.com/debian/ testing main
21#other repos 21#other repos
22#rabbitmq_debian_repo: deb https://dl.bintray.com/rabbitmq/debian {{ ansible_distribution_release }} main #bintray 22rabbitmq_debian_repo: "deb https://dl.bintray.com/rabbitmq/debian {{ ansible_distribution_release }} main #bintray"
23rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' 23# rabbitmq_debian_repo_key: https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
24#rabbitmq_debian_repo_key: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq 24rabbitmq_debian_repo_key: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq
25rabbitmq_debian_erlang_from_rabbit: false 25rabbitmq_debian_erlang_from_rabbit: false
26#rabbitmq_debian_version: 3.7.9 # current version if not defined 26
27# current version if not defined
28rabbitmq_debian_version: 3.7.9
27 29
28# Defines if setting up a rabbitmq cluster 30# Defines if setting up a rabbitmq cluster
29rabbitmq_enable_clustering: false 31rabbitmq_enable_clustering: false
30 32
31rabbitmq_erlang_cookie_file: '/var/lib/rabbitmq/.erlang.cookie' 33rabbitmq_erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie
32 34
33rabbitmq_listen_port: 5672 35rabbitmq_listen_port: 5672
34rabbitmq_listeners: [] 36rabbitmq_listeners: []
35 # - '127.0.0.1' 37# - 127.0.0.1
36 # - '::1' 38# - '::1'
37 39
38rabbitmq_ssl_enable: false 40rabbitmq_ssl_enable: false
39rabbitmq_ssl_port: 5671 41rabbitmq_ssl_port: 5671
40rabbitmq_ssl_listeners: [] 42rabbitmq_ssl_listeners: []
41 # - '127.0.0.1' 43# - 127.0.0.1
42 # - '::1' 44# - "::1"
45
43rabitmq_ssl_options: {} 46rabitmq_ssl_options: {}
44 # cacertfile: '"/path/to/testca/cacert.pem"' 47# cacertfile: '"/path/to/testca/cacert.pem"'
45 # certfile: '"/path/to/server/cert.pem"' 48# certfile: '"/path/to/server/cert.pem"'
46 # keyfile: '"/path/to/server/key.pem"' 49# keyfile: '"/path/to/server/key.pem"'
47 # verify: verify_peer 50# verify: verify_peer
48 # fail_if_no_peer_cert: "false" 51# fail_if_no_peer_cert: "false"
49 52
50# Defines the inventory host that should be considered master 53# Defines the inventory host that should be considered master
51rabbitmq_master: [] 54rabbitmq_master: []
52 55
53rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc' 56rabbitmq_redhat_repo_key: https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
54rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm' 57rabbitmq_redhat_package: "rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm"
55rabbitmq_redhat_url: 'http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}' 58rabbitmq_redhat_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}"
56rabbitmq_redhat_version: '3.6.1' 59rabbitmq_redhat_version: 3.6.1
57 60
58# Define admin user to create in order to login to WebUI 61# Define admin user to create in order to login to WebUI
59rabbitmq_users: 62rabbitmq_users:
60 - name: 'rabbitmqadmin' 63 - name: rabbitmqadmin
61 password: 'rabbitmqadmin' 64 password: rabbitmqadmin
62 vhost: '/' 65 vhost: /
63 configure_priv: '.*' 66 configure_priv: ".*"
64 read_priv: '.*' 67 read_priv: ".*"
65 write_priv: '.*' 68 write_priv: ".*"
66 # Define comma separated list of tags to assign to user: 69 # Define comma separated list of tags to assign to user:
67 # management,policymaker,monitoring,administrator 70 # management,policymaker,monitoring,administrator
68 # required for management plugin. 71 # required for management plugin.
69 # https://www.rabbitmq.com/management.html 72 # https://www.rabbitmq.com/management.html
70 tags: 'administrator' 73 tags: administrator