Removed redundancies and simplified run_once flag

This commit is contained in:
2025-12-03 18:12:09 +01:00
parent 9ecfd8a762
commit 031775c096
107 changed files with 221 additions and 379 deletions

View File

@@ -4,6 +4,7 @@
vars:
docker_network_name: "{{ OLLAMA_NETWORK }}"
docker_network_subnet: "{{ networks.local[application_id].subnet }}"
docker_compose_flush_handlers: true
- name: Pre-pull Ollama models
vars:
@@ -24,4 +25,4 @@
(pull_result.rc | default(0)) != 0 and
('up to date' not in (pull_result.stdout | default('')))
- include_tasks: utils/once/finalize.yml
- include_tasks: utils/once/flag.yml

View File

@@ -1,4 +1,2 @@
- include_tasks: 01_core.yml
vars:
flush_handlers: true
when: run_once_svc_ai_ollama is not defined