From 049c6ab90863907c47f23a75b7b14f170394d410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Desvaux?= Date: Mon, 20 Mar 2023 14:05:38 +0100 Subject: [PATCH] add handlers restart for cadvisor --- handlers/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/handlers/main.yml b/handlers/main.yml index f76527a..59ca7f1 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -33,3 +33,11 @@ state: restarted ignore_errors: '{{ ansible_check_mode }}' tags: ['docker_redisinsight'] + +- name: cadvisor-restart + systemd: + name: docker-compose@cadvisor + state: restarted + ignore_errors: '{{ ansible_check_mode }}' + tags: ['docker_cadvisor'] +