Enable recursion in combine() filter

Ansible's combine() filter needs recursive=True parameter in order to recursively merge nested hashes.
https: //docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#combining-hashes-dictionaries
Change-Id: I804bf03f7e459a5e572fc55d1d40c3ba45d2d736
This commit is contained in:
Damian Dabrowski
2022年01月11日 19:20:28 +01:00
parent 6a03389cbc
commit d6303c9343

View File

@@ -25,7 +25,7 @@
- name:Override tempestconf profile
copy:
content:"{{ tempest_tempestconf_profile | combine(tempest_tempestconf_profile_extras) | to_nice_yaml }}"
content:"{{ tempest_tempestconf_profile | combine(tempest_tempestconf_profile_extras, recursive=True) | to_nice_yaml }}"
dest:"{{ tempest_workspace }}/etc/profile.yaml"
mode:"0644"
Reference in New Issue
openstack/openstack-ansible-os_tempest
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.