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: I6d5362afe2c52ae08f60ac877ee3d58da3388da6
This commit is contained in:
Damian Dabrowski 2022-01-11 19:23:21 +01:00
parent 3ed476ab07
commit b0f7154ffe

View File

@ -61,7 +61,7 @@
{
'enabled': 'yes',
'state': 'started',
'config_overrides': cinder_environment_overrides | combine(service.init_config_overrides)
'config_overrides': cinder_environment_overrides | combine(service.init_config_overrides, recursive=True)
}
)
%}