Revert "speedup: move when block to outside include"
This meant that we can't actually run fact checks and the evaluation
of that bool fails again!
This reverts commit 092d874e6f
.
Change-Id: Iab9e396bef03417e2dda19efab7da7d2bf92ee8b
This commit is contained in:
parent
092d874e6f
commit
0ae478ac78
|
@ -19,7 +19,6 @@
|
|||
|
||||
- import_tasks: "python_venv_wheel_build.yml"
|
||||
run_once: yes
|
||||
when: venv_wheel_build_enable | bool
|
||||
tags:
|
||||
- build
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
- name: Build the wheels on the build host
|
||||
delegate_to: "{{ venv_build_host }}"
|
||||
become: "{{ venv_build_host == 'localhost' }}"
|
||||
when:
|
||||
- venv_wheel_build_enable | bool
|
||||
block:
|
||||
- name: Install distro packages for wheel build
|
||||
package:
|
||||
|
|
Loading…
Reference in New Issue