Fix wheel build alert condition

Currently alert is raised when wheels are built while it should be triggered only
when they are not.

Change-Id: I3c3547c3fa6df2bef6834e0cec4d43ef03b82f5f
Closes-Bug: #1956026
This commit is contained in:
Dmitriy Rabotyagov 2021-12-30 13:28:01 +02:00
parent 8701591120
commit 4d826ad133

View File

@ -38,7 +38,7 @@
infrastructure which are reliant on this service. infrastructure which are reliant on this service.
Found venv_build_targets: {{ venv_build_targets }} Found venv_build_targets: {{ venv_build_targets }}
when: when:
- venv_wheel_build_enable | bool - not venv_wheel_build_enable | bool
- ansible_play_batch | length > 2 - ansible_play_batch | length > 2
- not (venv_wheel_build_skip_check | default(False)) - not (venv_wheel_build_skip_check | default(False))