d3d3472326
Change-Id: I647c38adbfd00c70874cf51c0bfcb68d243e26cc Partially-Implements: blueprint rally-role
27 lines
646 B
YAML
27 lines
646 B
YAML
---
|
|
- name: Ensuring config directories exist
|
|
file:
|
|
path: "{{ node_config_directory }}/{{ item }}"
|
|
state: "directory"
|
|
recurse: yes
|
|
with_items:
|
|
- "rally"
|
|
|
|
- name: Copying over config.json files for services
|
|
template:
|
|
src: "{{ item }}.json.j2"
|
|
dest: "{{ node_config_directory }}/{{ item }}/config.json"
|
|
with_items:
|
|
- "rally"
|
|
|
|
- name: Copying over rally.conf
|
|
merge_configs:
|
|
vars:
|
|
project_name: "rally"
|
|
sources:
|
|
- "{{ role_path }}/templates/rally.conf.j2"
|
|
- "{{ node_custom_config }}/rally.conf"
|
|
dest: "{{ node_config_directory }}/{{ item }}/rally.conf"
|
|
with_items:
|
|
- "rally"
|