]>
Commit | Line | Data |
---|---|---|
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 |