From c9946fdce3bd785a334638cca08316fb14678b9a Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 27 Jan 2023 17:02:39 +0100 Subject: [PATCH] cloudflare - add handler --- handlers/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/handlers/main.yml b/handlers/main.yml index fa0df04..54b3ce0 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -81,3 +81,10 @@ state: restarted enabled: yes tags: ['prometheus'] + +- name: 'prometheus | cloudflare exporter | restart service' + systemd: + name: prometheus-cloudflare-exporter.service + state: restarted + enabled: yes + tags: ['prometheus']