From d101b21037416315984460b031b7bb507bcc392c Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 8 May 2020 11:47:57 +0200 Subject: [PATCH] ensure buildbot worker is running --- tasks/buildbot-worker.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/buildbot-worker.yaml b/tasks/buildbot-worker.yaml index fc1b39c..f15da39 100644 --- a/tasks/buildbot-worker.yaml +++ b/tasks/buildbot-worker.yaml @@ -67,3 +67,10 @@ owner: "{{ buildbot_worker_user }}" group: "{{ buildbot_worker_group }}" notify: restart buildbot-worker service + +- meta: flush_handlers + +- name: ensure buildbot-worker service is running + systemd: + state: started + name: buildbot-worker@{{buildbot_worker_name}}.service