Merge "Revert "speedup: move when block to outside include""

This commit is contained in:
Zuul 2019-03-31 16:25:40 +00:00 committed by Gerrit Code Review
commit d222c3f26d
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

@ -23,6 +23,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: