Fix broken list concatenation in horizon role
Starting with ansible-core 2.13, list concatenation format is changed and does not support concatenation operations outside of the jinja template. The format change: "[1] + {{ [2] }}" -> "{{ [1] + [2] }}" This affects the horizon role that iterates over existing policy files to override and concatenate them into a single variable. Co-Authored-By: Dr. Jens Harbott <harbott@osism.tech> Closes-Bug: #2045660 Change-Id: I91a2101ff26cb8568f4615b4cdca52dcf09e6978
This commit is contained in:
parent
7112d5f117
commit
97cd173177
@ -20,6 +20,6 @@
|
|||||||
|
|
||||||
- name: Update custom policy file name
|
- name: Update custom policy file name
|
||||||
set_fact:
|
set_fact:
|
||||||
custom_policy: "{{ custom_policy }} + [ '{{ overwritten_files.results.0.stat.path }}' ]"
|
custom_policy: "{{ custom_policy + [overwritten_files.results.0.stat.path] }}"
|
||||||
when:
|
when:
|
||||||
- overwritten_files.results
|
- overwritten_files.results
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Starting with ansible-core 2.13, list concatenation format is changed
|
||||||
|
which resulted in inability to override horizon policy files.
|
||||||
|
See `LP#2045660 <https://launchpad.net/bugs/2045660>`__
|
||||||
|
for more details.
|
Loading…
Reference in New Issue
Block a user