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:
Mohammed Naser 2019-03-30 21:56:48 +00:00
parent 092d874e6f
commit 0ae478ac78
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,6 @@
- import_tasks: "python_venv_wheel_build.yml"
run_once: yes
when: venv_wheel_build_enable | bool
tags:
- build

View File

@ -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: