From 0ae478ac783ce6f1899a908cbb9758ab35224037 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Sat, 30 Mar 2019 21:56:48 +0000 Subject: [PATCH] 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 092d874e6fe78937a308b686b56b835cc3bf23ea. Change-Id: Iab9e396bef03417e2dda19efab7da7d2bf92ee8b --- tasks/main.yml | 1 - tasks/python_venv_wheel_build.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index a8b3262..69ef048 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,7 +19,6 @@ - import_tasks: "python_venv_wheel_build.yml" run_once: yes - when: venv_wheel_build_enable | bool tags: - build diff --git a/tasks/python_venv_wheel_build.yml b/tasks/python_venv_wheel_build.yml index e460eaa..d1f5c25 100644 --- a/tasks/python_venv_wheel_build.yml +++ b/tasks/python_venv_wheel_build.yml @@ -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: