From 3e186617e0c3c0ffb3367f39ab585db6cee37474 Mon Sep 17 00:00:00 2001 From: Josh Sandlin Date: Tue, 28 Jul 2026 16:15:58 -0400 Subject: [PATCH] force restart of zot as part of ansible rollout --- ansible/playbooks/site.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/playbooks/site.yml b/ansible/playbooks/site.yml index de95eba..d234774 100644 --- a/ansible/playbooks/site.yml +++ b/ansible/playbooks/site.yml @@ -216,9 +216,9 @@ args: chdir: "{{ app_root }}" - # The zot config is bind-mounted, so compose won't notice a content change - - name: Restart zot if its config changed + # The zot config is bind-mounted, so compose won't notice a content change. + # Always restart so zot is guaranteed to be running the config we just wrote. + - name: Restart zot ansible.builtin.command: docker compose -f {{ app_root }}/docker-compose.yaml restart zot args: chdir: "{{ app_root }}" - when: zot_config.changed