e318cadaa5
Supports merging configuration for the following files: * kolla/globals.yml * kolla/config/bifrost/bifrost.yml * kolla/config/bifrost/dib.yml * kolla/config/bifrost/servers.yml * kolla/kolla-build.conf Configuration is merged from the following sources: * Kayobe source code * Base Kayobe config * Kayobe environment Co-Authored-By: Will Szumski <will@stackhpc.com> Change-Id: I552bd8f7853b2032954b372bf4476676dac3e271 Story: 2002009 Task: 42974
17 lines
503 B
YAML
17 lines
503 B
YAML
---
|
|
- name: Ensure the Kolla Bifrost configuration directories exist
|
|
file:
|
|
path: "{{ kolla_node_custom_config_path }}/bifrost"
|
|
state: directory
|
|
mode: 0750
|
|
|
|
- name: Ensure the Kolla Bifrost configuration files exist
|
|
merge_yaml:
|
|
sources: "{{ kolla_bifrost_config_paths | product(['/kolla/config/bifrost/' ~ item]) | map('join') | list }}"
|
|
dest: "{{ kolla_node_custom_config_path }}/bifrost/{{ item }}"
|
|
mode: 0640
|
|
with_items:
|
|
- bifrost.yml
|
|
- dib.yml
|
|
- servers.yml
|