From a6e8ab7f9d3e6da6f1958b27f453ca50f2f18d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 9 Dec 2022 17:43:33 +0100 Subject: [PATCH] docker: restart container on config change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- tasks/container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/container.yml b/tasks/container.yml index fc06334..9401a4b 100644 --- a/tasks/container.yml +++ b/tasks/container.yml @@ -12,5 +12,5 @@ project_src: '{{ matterbridge_service_path }}' pull: true state: '{{ compose_state }}' - restarted: '{{ compose_restart }}' + restarted: '{{ config_file.changed or compose_restart }}' recreate: '{{ compose_recreate }}'