blob: edd55df20c3c6d391b3ade1a950030e6bfd41163 (
plain) (
tree)
|
|
# tasks file for ansible-rabbitmq
- include: debian.yml
when: ansible_os_family == "Debian"
- name: checking to see if already clustered
stat: path=/etc/rabbitmq/clustered
register: clustered
- include: rabbitmq_clustering.yml
when: enable_rabbitmq_clustering and not clustered.stat.exists
- include: rabbitmq_ha_config.yml
when: config_rabbitmq_ha and enable_rabbitmq_clustering
|