From a4c84e0543bd818b2d6092e7c32287758b43c62a Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 21 Apr 2023 15:25:46 +0200 Subject: [PATCH] nginx - add handler --- handlers/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/handlers/main.yml b/handlers/main.yml index 39e8ca0..693e4e3 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -96,3 +96,10 @@ state: restarted enabled: yes tags: ['prometheus'] + +- name: 'nginx-exporter-restart' + systemd: + name: prometheus-nginx-exporter.service + state: restarted + enabled: yes + tags: ['prometheus']