kayobe/ansible/roles/kolla-bifrost/tasks/config.yml
Mark Goddard 4652c29706 Improve permissions around Kolla configuration.
Make ansible_user own files so we don't need to be root.
Files no longer world readable.
2017-03-16 10:55:54 +00:00

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 }