diff options
Diffstat (limited to 'defaults/main.yml')
-rw-r--r-- | defaults/main.yml | 75 |
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 |
3 | rabbitmq_config: [] | 3 | rabbitmq_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 |
15 | rabbitmq_config_ha: false | 15 | rabbitmq_config_ha: false |
16 | 16 | ||
17 | rabbitmq_config_service: false | 17 | rabbitmq_config_service: false |
18 | rabbitmq_config_file: 'etc/rabbitmq/rabbitmq.config.j2' | 18 | rabbitmq_config_file: etc/rabbitmq/rabbitmq.config.j2 |
19 | 19 | ||
20 | rabbitmq_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 | 22 | rabbitmq_debian_repo: "deb https://dl.bintray.com/rabbitmq/debian {{ ansible_distribution_release }} main #bintray" |
23 | rabbitmq_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 | 24 | rabbitmq_debian_repo_key: https://bintray.com/user/downloadSubjectPublicKey?username=rabbitmq |
25 | rabbitmq_debian_erlang_from_rabbit: false | 25 | rabbitmq_debian_erlang_from_rabbit: false |
26 | #rabbitmq_debian_version: 3.7.9 # current version if not defined | 26 | |
27 | # current version if not defined | ||
28 | rabbitmq_debian_version: 3.7.9 | ||
27 | 29 | ||
28 | # Defines if setting up a rabbitmq cluster | 30 | # Defines if setting up a rabbitmq cluster |
29 | rabbitmq_enable_clustering: false | 31 | rabbitmq_enable_clustering: false |
30 | 32 | ||
31 | rabbitmq_erlang_cookie_file: '/var/lib/rabbitmq/.erlang.cookie' | 33 | rabbitmq_erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie |
32 | 34 | ||
33 | rabbitmq_listen_port: 5672 | 35 | rabbitmq_listen_port: 5672 |
34 | rabbitmq_listeners: [] | 36 | rabbitmq_listeners: [] |
35 | # - '127.0.0.1' | 37 | # - 127.0.0.1 |
36 | # - '::1' | 38 | # - '::1' |
37 | 39 | ||
38 | rabbitmq_ssl_enable: false | 40 | rabbitmq_ssl_enable: false |
39 | rabbitmq_ssl_port: 5671 | 41 | rabbitmq_ssl_port: 5671 |
40 | rabbitmq_ssl_listeners: [] | 42 | rabbitmq_ssl_listeners: [] |
41 | # - '127.0.0.1' | 43 | # - 127.0.0.1 |
42 | # - '::1' | 44 | # - "::1" |
45 | |||
43 | rabitmq_ssl_options: {} | 46 | rabitmq_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 |
51 | rabbitmq_master: [] | 54 | rabbitmq_master: [] |
52 | 55 | ||
53 | rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc' | 56 | rabbitmq_redhat_repo_key: https://www.rabbitmq.com/rabbitmq-signing-key-public.asc |
54 | rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm' | 57 | rabbitmq_redhat_package: "rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm" |
55 | rabbitmq_redhat_url: 'http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}' | 58 | rabbitmq_redhat_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}" |
56 | rabbitmq_redhat_version: '3.6.1' | 59 | rabbitmq_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 |
59 | rabbitmq_users: | 62 | rabbitmq_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 |