4652c29706
Make ansible_user own files so we don't need to be root. Files no longer world readable.
17 lines
506 B
YAML
17 lines
506 B
YAML
---
|
|
- name: Ensure the Kolla Bifrost configuration directores exist
|
|
file:
|
|
path: "{{ kolla_node_custom_config_path }}/bifrost"
|
|
state: directory
|
|
mode: 0750
|
|
|
|
- name: Ensure the Kolla Bifrost configuration files exist
|
|
template:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ kolla_node_custom_config_path }}/bifrost/{{ item.dest }}"
|
|
mode: 0640
|
|
with_items:
|
|
- { src: bifrost.yml.j2, dest: bifrost.yml }
|
|
- { src: dib.yml.j2, dest: dib.yml }
|
|
- { src: servers.yml.j2, dest: servers.yml }
|