d01e9a43dd
Change-Id: I2a9c6fa16444a2142ab77f58d188eda84a2e59fd Partially-Implements: blueprint rabbitmq-clusterer
24 lines
781 B
YAML
24 lines
781 B
YAML
---
|
|
- name: Ensuring config directory exists
|
|
file:
|
|
path: "{{ node_config_directory }}/rabbitmq/"
|
|
state: "directory"
|
|
recurse: "yes"
|
|
|
|
- name: Copying over config(s)
|
|
template:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
with_items:
|
|
- { src: "rabbitmq-env.conf.j2",
|
|
dest: "{{ node_config_directory }}/rabbitmq/rabbitmq-env.conf" }
|
|
- { src: "rabbitmq.config.j2",
|
|
dest: "{{ node_config_directory }}/rabbitmq/rabbitmq.config" }
|
|
- { src: "rabbitmq_clusterer.config.j2",
|
|
dest: "{{ node_config_directory }}/rabbitmq/rabbitmq_clusterer.config" }
|
|
|
|
- name: Copying Rabbitmq JSON configuration file
|
|
template:
|
|
src: "roles/rabbitmq/templates/rabbitmq.json.j2"
|
|
dest: "{{ node_config_directory }}/rabbitmq/config.json"
|