diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2017-05-20 21:19:34 -0400 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2017-05-20 21:19:34 -0400 |
commit | a67dde50f26e0f76d91f0744e8e8341dac95dae2 (patch) | |
tree | 2971e931788eddf51b9ec71ac063bfb951215d0c /defaults | |
parent | f36f2edd9429200fbd18eeecfbba4b5fe891f26d (diff) | |
download | ansible-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.yml | 47 |
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 |
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 | rabbitmq_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 | ||
12 | rabbitmq_config_ha: false | ||
13 | |||
14 | rabbitmq_config_service: false | ||
15 | |||
11 | rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' | 16 | rabbitmq_debian_repo: 'deb http://www.rabbitmq.com/debian/ testing main' |
12 | rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' | 17 | rabbitmq_debian_repo_key: 'https://www.rabbitmq.com/rabbitmq-release-signing-key.asc' |
13 | rabbitmq_enable_clustering: false #defines if setting up a rabbitmq cluster...define here or in group_vars/group | 18 | |
14 | rabbitmq_erlang_cookie: 'LSKNKBELKPSTDBBCHETL' #define erlang cookie for cluster...define here or in group_vars/group | 19 | # Defines if setting up a rabbitmq cluster |
20 | rabbitmq_enable_clustering: false | ||
21 | |||
15 | rabbitmq_erlang_cookie_file: '/var/lib/rabbitmq/.erlang.cookie' | 22 | rabbitmq_erlang_cookie_file: '/var/lib/rabbitmq/.erlang.cookie' |
16 | rabbitmq_master: [] #defines the inventory host that should be considered master...define here or in group_vars/group | 23 | |
24 | rabbitmq_listen_port: 5672 | ||
25 | rabbitmq_listeners: [] | ||
26 | # - '127.0.0.1' | ||
27 | # - '::1' | ||
28 | |||
29 | # Defines the inventory host that should be considered master | ||
30 | rabbitmq_master: [] | ||
31 | |||
17 | rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc' | 32 | rabbitmq_redhat_repo_key: 'https://www.rabbitmq.com/rabbitmq-signing-key-public.asc' |
18 | rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm' | 33 | rabbitmq_redhat_package: 'rabbitmq-server-{{ rabbitmq_redhat_version }}-1.noarch.rpm' |
19 | rabbitmq_redhat_url: 'http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}' | 34 | rabbitmq_redhat_url: 'http://www.rabbitmq.com/releases/rabbitmq-server/v{{ rabbitmq_redhat_version }}' |
20 | rabbitmq_redhat_version: '3.6.1' | 35 | rabbitmq_redhat_version: '3.6.1' |
21 | rabbitmq_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 | ||
38 | rabbitmq_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' | ||