|
|
@@ -1,15 +1,9 @@
|
|
|
---
|
|
|
# tasks/rabbit.yml: Deploy RabbitMQ and set-up vhost for Sensu messaging
|
|
|
|
|
|
- - include_vars: "{{ item }}"
|
|
|
- with_first_found:
|
|
|
- - "{{ ansible_distribution }}.yml"
|
|
|
+ - include_vars: "{{ ansible_distribution }}.yml"
|
|
|
|
|
|
- - include: SmartOS/rabbit.yml
|
|
|
- when: ansible_distribution == "SmartOS"
|
|
|
-
|
|
|
- - include: Ubuntu/rabbit.yml
|
|
|
- when: ansible_distribution == "Ubuntu"
|
|
|
+ - include: "{{ ansible_distribution }}/rabbit.yml"
|
|
|
|
|
|
- name: Ensure RabbitMQ SSL directory exists
|
|
|
file: dest={{ rabbitmq_config_path }}/ssl state=directory
|