Skip to content

Commit

Permalink
Fix for concating ini files instead of config merge
Browse files Browse the repository at this point in the history
  • Loading branch information
k-s-dean committed Feb 14, 2023
1 parent 3dfa3e0 commit 411d340
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ansible/roles/kolla-openstack/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@
with_items: "{{ kolla_custom_config_info['copy'] }}"

- name: Ensure merged ini extra configuration files exist
merge_configs:
sources: "{{ item.sources }}"
copy:
content: |
{% for path in item.sources %}
{{ lookup('template', path) }}
{% endfor %}
dest: "{{ item.dest }}"
mode: 0640
with_items: "{{ kolla_custom_config_info.merge_ini }}"
Expand Down

0 comments on commit 411d340

Please sign in to comment.