From 593180d9a5ea4e1725354d8dfd8baabf79c95cd5 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Mon, 16 Oct 2017 14:00:32 +0000 Subject: [PATCH] Add service handlers to hotness config task Signed-off-by: Jeremy Cline --- roles/hotness/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/hotness/tasks/main.yml b/roles/hotness/tasks/main.yml index 846b5b66e0..a81b2c956d 100644 --- a/roles/hotness/tasks/main.yml +++ b/roles/hotness/tasks/main.yml @@ -29,12 +29,14 @@ - hotfix - hotness -- name: copy database configuration +- name: copy hotness fedmsg configuration template: > src={{ item }} dest=/etc/fedmsg.d/{{ item }} owner=fedmsg group=fedmsg mode=0600 with_items: - hotness.py + handlers: + - import_tasks: "{{ handlers_path }}/restart_services.yml" notify: - restart fedmsg-hub tags: