Merge "Ensure /var/lib/kolla/config_files exists"

This commit is contained in:
Zuul 2022-09-20 17:28:13 +00:00 committed by Gerrit Code Review
commit ebf278a0c9
1 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,14 @@
tags:
- always
- name: Create {{ tripleo_container_standalone_kolla_config_dir }}
- name: Ensure {{ tripleo_container_standalone_kolla_config_dir }} exists
file:
path: "{{ tripleo_container_standalone_kolla_config_dir }}"
state: directory
recurse: true
setype: container_file_t
- name: Create kolla config files
copy:
content: "{{ item.value | to_nice_json }}"
dest: "{{ tripleo_container_standalone_kolla_config_dir ~ '/' ~ item.key ~ '.json' }}"