a0bffb2581
Change-Id: Ibb30af44a9362278eff012ff1145374788b06cd5 Partially-Implements: blueprint replace-config-external
21 lines
652 B
YAML
21 lines
652 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" }
|
|
|
|
- name: Copying Rabbitmq JSON configuration file
|
|
template:
|
|
src: "roles/rabbitmq/templates/rabbitmq.json.j2"
|
|
dest: "{{ node_config_directory }}/rabbitmq/config.json" |