Maksim Malchuk 5cf750c313 Fix maximum width of the DIB Multiline-YAML
The dib_env_vars variable in the Bifrost's dib.yml file can contain
the DIB_BLOCK_DEVICE_CONFIG environment variable which is always the
Multiline-YAML data. By default, the format of the data is not
preserved while the configuration is merged and saved for the
bifrost-deploy container.

This is because Ansible uses the PyYAML library which has a default
80 symbol string length limit. The official Ansible documentation [1]
recommends using to_yaml or to_nice_yaml filters with width parameter.
This change adds the same ability to the merge_yaml Ansible plugin.

1. https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json

The related change for the diskimage-builder to solve the issue with
incorrect data provided by Kolla-Ansible is also provided:
I3b74ede69eb064ad813a9108ec68a228e549e8bb

The related change for Kolla-Ansible is also provided:
Id79445c0311916ac6c1beb3986e14f652ee5a63c

Closes-Bug: #2014981
Related-Bug: #2014980
Change-Id: I339042d9ce405f59aba936dd98df7d89a88bb41e
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-04-13 13:59:15 +03:00
..
2023-03-21 17:15:46 +01:00
2021-10-04 12:40:54 +01:00
2020-07-24 09:11:45 +01:00
2019-10-25 17:08:56 +01:00
2017-05-29 16:52:17 +01:00
2022-12-12 22:24:47 +01:00
2020-12-14 14:48:05 +00:00
2022-12-12 22:24:47 +01:00
2021-10-04 12:40:54 +01:00
2021-10-04 12:40:54 +01:00
2021-10-04 12:40:54 +01:00
2021-10-04 12:40:54 +01:00
2021-10-04 12:40:54 +01:00
2022-04-19 08:58:22 +02:00
2022-12-07 14:23:18 +00:00
2021-10-04 12:40:54 +01:00
2021-10-04 12:40:54 +01:00