review handler to prometheus container

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

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: