aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-20 01:03:45 -0500
committerLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-20 01:03:45 -0500
commitee7f4e7c0750e17853d1d0364c92ebd4caaea4b0 (patch)
tree031334f41175d9a4ddfc9c0769b911f775360f26
parent6e7530adab1264afd441ede97cd13ec3852dec91 (diff)
downloadansible-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.yml41
-rw-r--r--tasks/main.yml1
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
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
@@ -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
24rabbitmq_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
26rabbitmq_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
@@ -32,20 +34,21 @@ rabbitmq_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: []
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"