review handler to prometheus container

This commit is contained in:
Ludovic Cartier committed 2021-05-26 12:06:05 +02:00
1 parent 8aa8653e21
commit c1a667786c
2 files changed
+9 -13

No files matched your search

+5 -5
View File
@@ -1,10 +1,10 @@
---
- name: 'prometheus | server | restart container'
systemd:
name: openvpn@{{ ansible_hostname }}.service
state: started
enabled: yes
tags: ['prometheus']
docker_container:
name: prometheus
restart: yes
when:
- 'not register_docker_container_grafana.changed'
- name: 'prometheus | node exporter | restart service'
systemd: