aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorRoland Chernov <mail@roland.black>2016-06-29 02:06:25 +0900
committerRoland Chernov <mail@roland.black>2016-06-29 02:27:38 +0900
commitb6c0cb98568bb67c29bc54b7bc061a2138af6666 (patch)
tree92e2b0a4b2df0cc9bc8a809b4e7dd35181d7de8f /tasks/main.yml
parentbc0ca3da9ef79d3e75191500e941e63c5dbb6158 (diff)
downloadansible-rabbitmq-b6c0cb98568bb67c29bc54b7bc061a2138af6666.tar.gz
ansible-rabbitmq-b6c0cb98568bb67c29bc54b7bc061a2138af6666.tar.zst
ansible-rabbitmq-b6c0cb98568bb67c29bc54b7bc061a2138af6666.zip
Separate RedHat and Fedora
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 1768dd9..26abc8d 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -3,8 +3,11 @@
3 when: ansible_os_family == "Debian" 3 when: ansible_os_family == "Debian"
4 4
5- include: redhat.yml 5- include: redhat.yml
6 when: ansible_os_family == "RedHat" 6 when: ansible_distribution == "CentOS" or ansible_distribution == "Red Hat Enterprise Linux"
7 7
8- include: fedora.yml
9 when: ansible_distribution == "Fedora"
10
8- name: checking to see if already clustered 11- name: checking to see if already clustered
9 stat: path=/etc/rabbitmq/clustered 12 stat: path=/etc/rabbitmq/clustered
10 register: clustered 13 register: clustered