blob: 26abc8d915377004b32f03ad6b226aa19caef82d (
plain) (
tree)
|
|
# tasks file for ansible-rabbitmq
- include: debian.yml
when: ansible_os_family == "Debian"
- include: redhat.yml
when: ansible_distribution == "CentOS" or ansible_distribution == "Red Hat Enterprise Linux"
- include: fedora.yml
when: ansible_distribution == "Fedora"
- name: checking to see if already clustered
stat: path=/etc/rabbitmq/clustered
register: clustered
- include: rabbitmq_clustering.yml
when: enable_rabbitmq_clustering and (clustered.stat.exists != True)
- include: rabbitmq_ha_config.yml
when: config_rabbitmq_ha and enable_rabbitmq_clustering
- include: rabbitmq_users.yml
|