Merge "Create Container configs with a new module" into stable/train
This commit is contained in:
commit
3bb475fa11
|
@ -281,18 +281,10 @@
|
||||||
setype: svirt_sandbox_file_t
|
setype: svirt_sandbox_file_t
|
||||||
selevel: s0
|
selevel: s0
|
||||||
|
|
||||||
- name: Write kolla config json files
|
- name: Write container config json files
|
||||||
become: true
|
become: true
|
||||||
no_log: True
|
tripleo_container_configs:
|
||||||
copy:
|
config_data: "{{ lookup('file', tripleo_role_name + '/kolla_config.yaml', errors='ignore') | default({}, True) | from_yaml }}"
|
||||||
content: "{{ item[1] | to_nice_json }}"
|
|
||||||
dest: "{{ item[0] }}"
|
|
||||||
force: yes
|
|
||||||
mode: '0600'
|
|
||||||
setype: svirt_sandbox_file_t
|
|
||||||
loop: "{{ lookup('file', tripleo_role_name + '/kolla_config.yaml', errors='ignore') | default([], True) | from_yaml | dictsort }}"
|
|
||||||
loop_control:
|
|
||||||
label: "{{ item[0] }}"
|
|
||||||
tags:
|
tags:
|
||||||
- container_startup_configs
|
- container_startup_configs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue