Slurp constraints.txt separately for each host in a batch

Currently playbook slurps constraints.txt valid for a first host in a
batch and then uses it for each other host.

It saves time but batch may consists of hosts with different operating
systems or even OSA versions and current mechanism doesn't take this
into account.

In my opinion we should slurp constraints.txt separately for each host.

Change-Id: I9ba1d342af13e9c923151f735940bda29bf1b262
This commit is contained in:
Damian Dabrowski 2022-02-15 15:09:05 +01:00
parent a57336728f
commit 28f89b80a8

View File

@ -19,7 +19,6 @@
slurp:
src: "{{ _venv_build_requirements_prefix }}-constraints.txt"
register: _constraints_file_slurp
run_once: true
when: venv_wheel_build_enable | bool
# TODO(odyssey4me):