ansible-collection-prometheus/roles/cadvisor/handlers/main.yml
SuperQ 9e8cdccba6
feat: Add cadvisor role
Add a role to deploy https://github.com/google/cadvisor.

Signed-off-by: SuperQ <superq@gmail.com>
2024-01-08 17:51:09 +01:00

10 lines
201 B
YAML

---
- name: Restart cadvisor
listen: "restart cadvisor"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: cadvisor
state: restarted
when:
- not ansible_check_mode