From fdecceb57194220e02b83c7a149adb8acc9259da Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 23 Feb 2018 17:21:55 -0800 Subject: [PATCH] openqa: Fix a check in createhdds worker Signed-off-by: Adam Williamson --- roles/openqa/worker/tasks/createhdds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openqa/worker/tasks/createhdds.yml b/roles/openqa/worker/tasks/createhdds.yml index 20a637999d..dbf9a2ad30 100644 --- a/roles/openqa/worker/tasks/createhdds.yml +++ b/roles/openqa/worker/tasks/createhdds.yml @@ -32,7 +32,7 @@ - name: Change SMT setting if necessary command: "ppc64_cpu --smt=off" - when: "smtcheck is defined and smtcheck.stdout.find('is off') == -1" + when: "smtcheck.stdout is defined and smtcheck.stdout.find('is off') == -1" - name: Check out createhdds git: