mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-08 18:35:11 +00:00
Removed redundancies and simplified run_once flag
This commit is contained in:
@@ -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
|
||||
@@ -1,4 +1,2 @@
|
||||
- include_tasks: 01_core.yml
|
||||
vars:
|
||||
flush_handlers: true
|
||||
when: run_once_svc_ai_ollama is not defined
|
||||
Reference in New Issue
Block a user