kayobe/ansible
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
..
action_plugins Import merge_configs and merge_yaml from Kolla Ansible 2021-09-29 18:36:16 +02:00
filter_plugins Ubuntu: support systemd-networkd 2021-04-21 08:23:44 +00:00
inventory Fix opensearch container builds 2023-03-21 17:15:46 +01:00
roles Fix maximum width of the DIB Multiline-YAML 2023-04-13 13:59:15 +03:00
test_plugins Add a command to check network connectivity between hosts 2017-11-02 12:12:07 +00:00
apt.yml Infra VMs: fix some playbook host patterns 2021-11-15 20:54:19 +00:00
baremetal-compute-inspect.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
baremetal-compute-manage.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
baremetal-compute-provide.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
baremetal-compute-rename.yml Update packages in virtualenvs 2019-08-15 11:01:49 +00:00
baremetal-compute-serial-console-post-config.yml Fix baremetal serial console autoenable 2019-10-21 14:16:20 +01:00
baremetal-compute-serial-console.yml Support multiple environments from a single configuration 2021-03-31 17:01:35 +02:00
bootstrap.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
compute-libvirt-host.yml libvirt: support SASL authentication 2022-03-24 13:44:48 +00:00
compute-node-discovery.yml Use ansible_facts to reference facts 2021-08-21 09:57:29 +02:00
compute-node-provide.yml Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
container-image-build.yml Remove kolla_install_type variable 2022-12-02 10:36:45 +00:00
container-image-builders-check.yml Add an ansible group for container image builders 2017-11-21 17:50:32 +00:00
dell-compute-node-boot-mode.yml use include_tasks and import_playbook instead of include 2019-01-18 12:22:38 +00:00
dell-compute-node-discovery.yml use include_tasks and import_playbook instead of include 2019-01-18 12:22:38 +00:00
dell-compute-node-inventory.yml Remove config-mgmt group, instead use localhost 2017-12-01 11:21:00 +00:00
dell-switch-bmp.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
dev-tools.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
disable-cloud-init.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
disable-glean.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
dnf.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
docker-devicemapper.yml Fix failures in Docker storage driver check 2020-10-13 23:11:16 +02:00
docker-registry.yml Docker registry TLS 2020-07-24 09:11:45 +01:00
docker.yml Use docker_custom_config variable 2019-10-25 17:08:56 +01:00
drac-bios.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
drac-boot-order.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
drac-facts.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
dump-config.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
external-net.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
firewall.yml Add support for firewalld on Ubuntu 2022-07-27 10:54:43 +01:00
host-command-run.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
host-package-update.yml Ubuntu: support host package update 2022-03-22 09:11:28 +00:00
idrac-bootstrap-one.yml Updating Jinja filters to conform to Ansible 2.5+ 2019-06-28 16:34:24 +01:00
idrac-bootstrap.yml Use ansible_facts to reference facts 2021-08-21 09:57:29 +02:00
infra-vm-deprovision.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
infra-vm-host-configure.yml selinux: default to permissive 2022-06-17 09:24:27 +02:00
infra-vm-provision.yml infra VMs: use wait_for rather than wait_for_connection 2021-10-28 08:53:33 +00:00
inspection-store.yml Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
ip-allocation.yml Skip IP address allocation and configuration if needed 2022-03-18 11:39:40 +01:00
ip-routing.yml Allow enable SNAT service on the seed hypervisor 2021-12-10 07:47:30 +03:00
kayobe-ansible-user.yml Infra VMs: fix some playbook host patterns 2021-11-15 20:54:19 +00:00
kayobe-target-venv.yml Move to Rocky Linux 9 2022-12-12 22:24:47 +01:00
kolla-ansible-user.yml Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
kolla-ansible.yml Merge "Use assert to test/validate condition" 2023-02-21 17:05:24 +00:00
kolla-bifrost-hostvars.yml Add support for root filesystem UUID customisation 2022-03-03 09:42:03 +01:00
kolla-bifrost.yml Fix Bifrost inspection through DHCP-relay 2022-03-17 20:40:37 +03:00
kolla-build.yml Remove kolla_install_type variable 2022-12-02 10:36:45 +00:00
kolla-openstack.yml Remove support for Monasca and its dependencies 2022-12-13 14:32:33 +01:00
kolla-pip.yml Stop using platform-python 2020-12-14 14:48:05 +00:00
kolla-target-venv.yml Move to Rocky Linux 9 2022-12-12 22:24:47 +01:00
luks.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
lvm.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
mdadm.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
network-connectivity.yml Infra VMs: fix some playbook host patterns 2021-11-15 20:54:19 +00:00
network.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
opensm.yml Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
overcloud-bios-raid.yml Avoid fact gathering for group_by 2021-03-04 17:32:15 +00:00
overcloud-deprovision.yml Adapt to changes from the Bifrost Victoria release 2021-01-27 11:00:36 +01:00
overcloud-docker-sdk-upgrade.yml Update packages in virtualenvs 2019-08-15 11:01:49 +00:00
overcloud-etc-hosts-fixup.yml Use ansible_facts to reference facts 2021-08-21 09:57:29 +02:00
overcloud-extras.yml Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
overcloud-facts-gather.yml Make setup module arguments configurable 2021-09-27 09:31:09 +00:00
overcloud-hardware-inspect.yml Adapt to changes from the Bifrost Victoria release 2021-01-27 11:00:36 +01:00
overcloud-host-configure.yml Support configuration of swap 2022-12-07 14:23:18 +00:00
overcloud-host-image-build.yml Add new DIB upper constraints variables 2022-09-13 11:23:58 +02:00
overcloud-host-upgrade.yml Refactor host configure commands to use a single playbook 2022-02-22 09:22:09 +00:00
overcloud-introspection-data-save.yml Fix overcloud introspection data save 2021-08-31 13:27:46 +02:00
overcloud-introspection-rules-dell-lldp-workaround.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
overcloud-introspection-rules.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
overcloud-inventory-discover.yml Support multiple environments from a single configuration 2021-03-31 17:01:35 +02:00
overcloud-ipa-build.yml Add new DIB upper constraints variables 2022-09-13 11:23:58 +02:00
overcloud-ipa-images.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
overcloud-provision.yml Support authentication in Bifrost 2022-08-25 11:56:03 +02:00
overcloud-service-config-save.yml Support including and excluding files from config save 2019-02-04 09:21:07 +00:00
physical-network.yml Add support for dellos10 switch configuration 2022-06-09 21:59:33 +02:00
pip.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
provision-net.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
proxy.yml Fix no_proxy configuration 2022-04-19 08:58:22 +02:00
public-openrc.yml Fix configuration check without public API network 2021-08-20 17:52:50 +01:00
seed-credentials.yml Support authentication in Bifrost 2022-08-25 11:56:03 +02:00
seed-deploy-containers.yml Fix capitalisation of Ansible task name 2021-07-28 10:44:53 +00:00
seed-host-configure.yml selinux: default to permissive 2022-06-17 09:24:27 +02:00
seed-host-upgrade.yml Refactor host configure commands to use a single playbook 2022-02-22 09:22:09 +00:00
seed-hypervisor-host-configure.yml Run selinux playbook on seed hypervisor 2022-06-24 14:00:13 +00:00
seed-hypervisor-libvirt-host.yml Merge pull request #91 from stackhpc/libvirt-galaxy 2018-01-02 12:59:23 +00:00
seed-introspection-rules.yml Bump up Ansible supported versions to 5.x/6.x 2022-12-14 14:55:33 +00:00
seed-ipa-build.yml Support additional build host packages for IPA & overcloud 2022-08-22 15:24:55 +02:00
seed-service-upgrade-prep.yml Use ansible_facts to reference facts 2021-08-21 09:57:29 +02:00
seed-vm-deprovision.yml Fix seed VM provision failure on Ansible 2.6 2019-01-29 18:55:50 +00:00
seed-vm-provision.yml Use dnf module to get rid of warning 2022-10-18 18:43:20 +02:00
selinux.yml Run selinux playbook on seed hypervisor 2022-06-24 14:00:13 +00:00
snat.yml Allow enable SNAT service on the seed hypervisor 2021-12-10 07:47:30 +03:00
ssh-known-host.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
swap.yml Support configuration of swap 2022-12-07 14:23:18 +00:00
swift-block-devices.yml Support for Ceph and Swift storage networks, and improvements to Swift 2019-04-24 12:40:20 +00:00
swift-rings.yml Support multiple environments from a single configuration 2021-03-31 17:01:35 +02:00
sysctl.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
time.yml [release] Sync Kolla Ansible inventory for Xena 2021-10-15 13:02:53 +02:00
tuned.yml Add support for configuring tuned profile 2021-10-06 17:49:24 +02:00
users.yml Add support for infrastructure VMs 2021-10-04 12:40:54 +01:00
wipe-disks.yml Refactor host configure commands to use a single playbook 2022-02-22 09:22:09 +00:00