From 86f7b017002ff9c3d3204aaf7394375ac778b314 Mon Sep 17 00:00:00 2001 From: Jan Klare Date: Thu, 2 Dec 2021 15:56:38 +0100 Subject: [PATCH] evaluate turbo_boost_enabled as bool instead of checking if it's defined * the previous check would always try to enable turbo boost, as long as the varibale turbo_boost_enabled was defined, no matter if the value was set to true or false Signed-off-by: Jan Klare --- roles/bootstrap/configure_intel_pstate/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bootstrap/configure_intel_pstate/tasks/main.yml b/roles/bootstrap/configure_intel_pstate/tasks/main.yml index d45f8507..eca42bac 100644 --- a/roles/bootstrap/configure_intel_pstate/tasks/main.yml +++ b/roles/bootstrap/configure_intel_pstate/tasks/main.yml @@ -32,4 +32,4 @@ - name: setup turbo boost include_tasks: setup_turbo.yml when: - - turbo_boost_enabled is defined + - turbo_boost_enabled