force restart of zot as part of ansible rollout

This commit is contained in:
Josh Sandlin
2026-07-28 16:15:58 -04:00
parent 8cb54a5a0d
commit 3e186617e0
+3 -3
View File
@@ -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