From 36a976c5efa8fcc00a43b04794471b697610741b Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Fri, 18 Nov 2022 18:29:25 +0100 Subject: [PATCH] copr: explicitly import handlers for copr-frontend.yml Trying to solve this issue TASK [Mount swap] ERROR! The requested handler 'restart swap.swap' was not found in either the main handlers list nor in the listening handlers list --- playbooks/groups/copr-frontend.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/groups/copr-frontend.yml b/playbooks/groups/copr-frontend.yml index 20d7644cd8..b30289419d 100644 --- a/playbooks/groups/copr-frontend.yml +++ b/playbooks/groups/copr-frontend.yml @@ -8,6 +8,9 @@ - "/srv/private/ansible/vars.yml" - /srv/private/ansible/files/openstack/passwords.yml + handlers: + - import_tasks: "{{ handlers_path }}/restart_services.yml" + tasks: # - import_tasks: "{{ tasks_path }}/persistent_cloud.yml" # when: datacenter != "aws"