memcache - add not restart handler

This commit is contained in:
Ludovic Cartier 2022-11-11 18:52:42 +01:00
parent beff5e779c
commit 5c37a866cc
2 changed files with 9 additions and 0 deletions

View File

@ -74,3 +74,10 @@
state: restarted
enabled: yes
tags: ['prometheus']
- name: 'prometheus | memcached exporter | restart service'
systemd:
name: prometheus-memcached-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']

View File

@ -33,6 +33,8 @@
owner: root
group: root
mode: 0600
notify:
- 'prometheus | memcached exporter | restart service'
# - name: 'prometheus | memcached exporter | configuration'
# template: