
- This change indroduces a merge_yaml action_plugin - This change generates bifrost yaml configs. Change-Id: I9814e6a5d55cbd46c4b60c06ed70ed54a575bd2f Implements: blueprint bifrost-support
22 lines
520 B
YAML
22 lines
520 B
YAML
---
|
|
- name: Ensuring config directories exist
|
|
file:
|
|
path: "{{ node_config_directory }}/{{ item }}"
|
|
state: "directory"
|
|
recurse: yes
|
|
with_items:
|
|
- "bifrost"
|
|
|
|
- name: Generate bifrost configs
|
|
merge_yaml:
|
|
sources:
|
|
- "{{ role_path }}/templates/{{ item }}.yml.j2"
|
|
- "{{ node_custom_config }}/{{ item }}.yml"
|
|
- "{{ node_custom_config }}/bifrost/{{ item }}.yml"
|
|
dest: "{{ node_config_directory }}/bifrost/{{ item }}.yml"
|
|
with_items:
|
|
- "bifrost"
|
|
- "dib"
|
|
- "servers"
|
|
|