aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2016-12-03 17:51:25 -0500
committerLarry Smith Jr <mrlesmithjr@gmail.com>2016-12-03 17:51:25 -0500
commit109c6b750751d1c5cd216ad2f09258cf512c4c9e (patch)
tree0b276b62a25937dd5edb6d905952cf107b7c88ca /tasks/main.yml
parent8f8673fb8dfa2bd4fa2694cbfdcb6eed54e502de (diff)
downloadansible-rabbitmq-109c6b750751d1c5cd216ad2f09258cf512c4c9e.tar.gz
ansible-rabbitmq-109c6b750751d1c5cd216ad2f09258cf512c4c9e.tar.zst
ansible-rabbitmq-109c6b750751d1c5cd216ad2f09258cf512c4c9e.zip
Addressed issue #6
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com>
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
new file mode 100644
index 0000000..bd82f93
--- /dev/null
+++ b/tasks/main.yml
@@ -0,0 +1,21 @@
1# tasks file for ansible-rabbitmq
2- include: debian.yml
3 when: ansible_os_family == "Debian"
4
5- include: redhat.yml
6 when: ansible_distribution == "CentOS" or ansible_distribution == "Red Hat Enterprise Linux"
7
8- include: fedora.yml
9 when: ansible_distribution == "Fedora"
10
11- name: checking to see if already clustered
12 stat: path=/etc/rabbitmq/clustered
13 register: clustered
14
15- include: rabbitmq_clustering.yml
16 when: rabbitmq_enable_clustering and (clustered.stat.exists != True)
17
18- include: rabbitmq_ha_config.yml
19 when: rabbitmq_config_ha and rabbitmq_enable_clustering
20
21- include: rabbitmq_users.yml