Browse Source

Merge "Create Container configs with a new module" into stable/ussuri

changes/70/747370/2
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
8e32af7d7c
1 changed files with 3 additions and 11 deletions
  1. +3
    -11
      common/deploy-steps-tasks-step-1.yaml

+ 3
- 11
common/deploy-steps-tasks-step-1.yaml View File

@@ -261,18 +261,10 @@
setype: container_file_t
selevel: s0

- name: Write kolla config json files
- name: Write container config json files
become: true
no_log: True
copy:
content: "{{ item[1] | to_nice_json }}"
dest: "{{ item[0] }}"
force: yes
mode: '0600'
setype: container_file_t
loop: "{{ lookup('file', tripleo_role_name + '/kolla_config.yaml', errors='ignore') | default([], True) | from_yaml | dictsort }}"
loop_control:
label: "{{ item[0] }}"
tripleo_container_configs:
config_data: "{{ lookup('file', tripleo_role_name + '/kolla_config.yaml', errors='ignore') | default({}, True) | from_yaml }}"
tags:
- container_startup_configs



Loading…
Cancel
Save