forked from mrlesmithjr/ansible-rabbitmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
105 lines (89 loc) · 3.47 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
# defaults file for ansible-rabbitmq
rabbitmq_config: []
# - queue_name: logstash
# durable: true
# exchange_name: logstash
# type: direct
# routing_key: logstash
# tags: "ha-mode=all,ha-sync-mode=automatic"
# - queue_name: logstash-quorum
# durable: true
# exchange_name: logstash-quorum
# type: direct
# routing_key: logstash
# queue_type: quorum
# tags: "ha-mode=all,ha-sync-mode=automatic"
# - policy_pattern: ".*"
# vhost: apps
# tags: "ha-mode=all,ha-sync-mode=automatic"
# Defines if rabbitmq ha should be configured
rabbitmq_config_ha: false
rabbitmq_config_service: false
rabbitmq_config_file: etc/rabbitmq/rabbitmq.config.j2
rabbitmq_config_env_file: etc/rabbitmq/rabbitmq-env.conf.j2
rabbitmq_plugin_dir: "/usr/lib/rabbitmq/plugins"
rabbitmq_env_config: {}
# rabbitmq_debian_repo: deb http://www.rabbitmq.com/debian/ testing main
#other repos
rabbitmq_debian_repo: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu {{ ansible_distribution_release }} main"
rabbitmq_debian_repo_key: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key"
rabbitmq_debian_team_key: "https://keys.openpgp.org/vks/v1/by-fingerprint/0A9AF2115F4687BD29803A206B73A36E6026DFCA"
rabbitmq_debian_erlang_from_rabbit: true
rabbitmq_debian_erlang_repo: "deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu {{ ansible_distribution_release }} main"
rabbitmq_debian_erlang_repo_key: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key"
# current version if not defined
rabbitmq_debian_version_defined: true
rabbitmq_debian_version: 3.8.18-1
# Defines if setting up a rabbitmq cluster
rabbitmq_enable_clustering: false
# Defines the inventory host that should be considered master
rabbitmq_master: None
rabbitmq_erlang_cookie_file: /var/lib/rabbitmq/.erlang.cookie
rabbitmq_listen_port: 5672
rabbitmq_listeners: []
# - 127.0.0.1
# - '::1'
# Uncomment to set cluster partition handling strategy (https://www.rabbitmq.com/partitions.html)
#rabbitmq_cluster_partition_handling: ignore
rabbitmq_ssl_enable: false
rabbitmq_ssl_port: 5671
rabbitmq_ssl_listeners: []
# - 127.0.0.1
# - "::1"
rabitmq_ssl_options: {}
# cacertfile: '"/path/to/testca/cacert.pem"'
# certfile: '"/path/to/server/cert.pem"'
# keyfile: '"/path/to/server/key.pem"'
# verify: verify_peer
# fail_if_no_peer_cert: "false"
rabbitmq_redhat_repo_key: https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
rabbitmq_redhat_package: "rabbitmq-server-{{ rabbitmq_redhat_version }}-1.el{{ ansible_distribution_major_version }}.noarch.rpm"
rabbitmq_redhat_url: "https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/{{ ansible_distribution_major_version }}/noarch"
rabbitmq_redhat_version: 3.8.11
# Define extra vhosts to be created
rabbitmq_extra_vhosts: []
# - name: /
# state: present
# node: "rabbit"
# Define admin user to create in order to login to WebUI
rabbitmq_users:
- name: rabbitmqadmin
password: rabbitmqadmin
vhost: /
configure_priv: ".*"
read_priv: ".*"
write_priv: ".*"
# Define comma separated list of tags to assign to user:
# management,policymaker,monitoring,administrator
# required for management plugin.
# https://www.rabbitmq.com/management.html
tags: administrator
# node: "rabbit"
rabbitmq_plugins: []
# - name: ""
# url: ""
# extract: true
rabbitmq_additional_conf_files: []
# - src: files/rabbitmq/01-auth.conf
# dest: 01-auth.conf