From 5d5f73b2d012cf38038d9c20e65a9499e51d12a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Thu, 27 Jul 2023 08:51:15 +0200 Subject: [PATCH] Import restart_services.yml in buildvm-osbuild.yml playbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The buildvm-osbuild.yml playbook fails when running the base role, specifically when configuring chronyd and restarting it. The reason is that the role is notifying a handler, which is not defined in the role, but it is defined in the main handlers file restart_services.yml. Import handlers from restart_services.yml in the buildvm-osbuild.yml playbook to ensure that all common handlers are available. Signed-off-by: Tomáš Hozza --- playbooks/groups/buildvm-osbuild.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/groups/buildvm-osbuild.yml b/playbooks/groups/buildvm-osbuild.yml index f402ce808c..b8420537a3 100644 --- a/playbooks/groups/buildvm-osbuild.yml +++ b/playbooks/groups/buildvm-osbuild.yml @@ -24,6 +24,9 @@ - ipa/client - sudo + handlers: + - import_tasks: "{{ handlers_path }}/restart_services.yml" + tasks: - name: Set up osbuild worker block: