From d9d0048729fe5661b3c481f9e547adb7b6cbb685 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 30 Apr 2020 15:00:20 -0700 Subject: [PATCH] openqa/worker: abuse the scratch build stuff to trigger handler I want this handler to run so I need to abuse something that's gonna come up 'changed'. Signed-off-by: Adam Williamson --- roles/openqa/worker/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/openqa/worker/tasks/main.yml b/roles/openqa/worker/tasks/main.yml index ef475fe2d6..b29d2f50e6 100644 --- a/roles/openqa/worker/tasks/main.yml +++ b/roles/openqa/worker/tasks/main.yml @@ -31,6 +31,9 @@ - name: Remove scratch repo directory file: path=/var/tmp/scratchrepo state=absent + # HACK HACK HACK FIXME + notify: + - restart openqa workers - name: (Re-)create scratch repo directory file: path=/var/tmp/scratchrepo state=directory owner=root group=root