ansible-role-python_venv_build/vars
Dmitriy Rabotyagov 4a04d08eb4 Change default value for venv_wheel_build_enable
With fixing multi-distro support logic, venv_wheel_build_enable logic
stopped working for metal deployments, that have more then 1 host.
Currently, we were checking, that we are not building wheels if build_host
is the same as inventory_hostname. Which is now true for all metal
deployments. However, other hosts do expect wheels to present, which
results in installation failure.

According to the original idea we need to build wheels only when we have
more then 1 host with same arch/distro combination otherwise it does
not make sense to build wheels and faster to install tarball.

To achieve that we build mapping of all distro/arch combinations and
enable wheels building only when there distro-arch combination
is not unique for the host we're playing against.

Despite it might be overkill, as scenario of having only single host
with uniqe distro-arch combination, and overhead of building wheels for
it would be quite small, alternative would be to hardcode `True` for
venv_wheel_build_enable.

Closes-Bug: #1989506
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/858258
Change-Id: I762e36acf76729fd61f28ca1b03bc9f562b5db0a
2022-09-19 07:59:51 +00:00
..
debian.yml Add per-distro vars files 2022-01-14 08:50:03 +00:00
main.yml Change default value for venv_wheel_build_enable 2022-09-19 07:59:51 +00:00
redhat-7.yml Add per-distro vars files 2022-01-14 08:50:03 +00:00
redhat-8.yml Add per-distro vars files 2022-01-14 08:50:03 +00:00
redhat-9.yml Add per-distro vars files 2022-01-14 08:50:03 +00:00