diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-20 01:03:45 -0500 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-20 01:03:45 -0500 |
commit | ee7f4e7c0750e17853d1d0364c92ebd4caaea4b0 (patch) | |
tree | 031334f41175d9a4ddfc9c0769b911f775360f26 | |
parent | 6e7530adab1264afd441ede97cd13ec3852dec91 (diff) | |
download | ansible-rabbitmq-ee7f4e7c0750e17853d1d0364c92ebd4caaea4b0.tar.gz ansible-rabbitmq-ee7f4e7c0750e17853d1d0364c92ebd4caaea4b0.tar.zst ansible-rabbitmq-ee7f4e7c0750e17853d1d0364c92ebd4caaea4b0.zip |
Rebased from master after PR's and cleaned up
-rw-r--r-- | defaults/main.yml | 41 | ||||
-rw-r--r-- | tasks/main.yml | 1 |
2 files changed, 23 insertions, 19 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 4771a6b..f3d2c20 100644 --- a/defaults/main.yml +++ b/defaults/main.yml | |||
@@ -1,15 +1,15 @@ | |||
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 |
@@ -23,7 +23,9 @@ rabbitmq_debian_repo: "deb https://dl.bintray.com/rabbitmq/debian {{ ansible_dis | |||
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 |
@@ -32,20 +34,21 @@ 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: [] |
diff --git a/tasks/main.yml b/tasks/main.yml index 3205473..1ef08f0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml | |||
@@ -1,3 +1,4 @@ | |||
1 | --- | ||
1 | # tasks file for ansible-rabbitmq | 2 | # tasks file for ansible-rabbitmq |
2 | - include: debian.yml | 3 | - include: debian.yml |
3 | when: ansible_os_family == "Debian" | 4 | when: ansible_os_family == "Debian" |