Import restart_services.yml in buildvm-osbuild.yml playbook

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 <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2023-07-27 08:51:15 +02:00
parent f77d05ce5a
commit 5d5f73b2d0
No known key found for this signature in database
GPG key ID: C5887AD51D9F3C2D

View file

@ -24,6 +24,9 @@
- ipa/client
- sudo
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: Set up osbuild worker
block: