provision, ensure llm variables do not collide with existing facts.

This commit is contained in:
me
2026-10-10 04:20:55 -07:00
parent daec9237f0
commit 5655fe52b0
+17 -14
View File
@@ -290,18 +290,19 @@
; ollama (default=true)
; Install and enable the ollama LLM manager.
;
; automanage_models (default=true)
; Automatically choose and pull the models to use based on
; system resources. Otherwise leave user-pulled images alone.
; manage_models (default=true)
; Automatically choose and pull the models to use based on system
; resources. Otherwise leaves images alone but still handles config.
;
; zero (default=false)
; Install and enable the Zeroclaw web daemon, a minimalistic interface
; for many models and providers with negligible resource usage. Also
; installs the CLI tool zerocode as an alternative to the web GUI.
;
; open_webui (default=true)
; open_webui (default=false)
; Install and enable open-webui as a Docker container. Very polished web
; frontend for ollama and also handles other LLMs through API calls.
; Container is over 1GB in size and consumes resources.
;
; open_webui_port (default=3000)
; Port on which to run the open-webui Docker instance.
@@ -309,6 +310,8 @@
; codium_config (default=true)
; Manage the config files for and Codium plugins. Cline and Continue are
; the recommended Codium extensions but need installed through the GUI.
; Currently handles:
; - ~/.continue/config.yml
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
state: present
@@ -359,12 +362,12 @@
mobile: "{{ lookup('ini', 'mobile file={{wrk_file}} default=false') | bool }}"
redmode: "{{ lookup('ini', 'redmode file={{wrk_file}} default=true' ) | bool }}"
# LLMs
ollama: "{{ lookup('ini', 'ollama file={{wrk_file}} default=true' ) | bool }}"
automanage_models: "{{ lookup('ini', 'automanage_models file={{wrk_file}} default=true' ) | bool }}"
zero: "{{ lookup('ini', 'zero file={{wrk_file}} default=false') | bool }}"
open_webui: "{{ lookup('ini', 'open_webui file={{wrk_file}} default=true' ) | bool }}"
open_webui_port: "{{ lookup('ini', 'open_webui_port file={{wrk_file}} default=3000' ) | int }}"
codium_config: "{{ lookup('ini', 'codium_config file={{wrk_file}} default=true' ) | bool }}"
ollama_enabled: "{{ lookup('ini', 'ollama file={{wrk_file}} default=true' ) | bool }}"
manage_models: "{{ lookup('ini', 'manage_models file={{wrk_file}} default=true' ) | bool }}"
zeroclaw_enabled: "{{ lookup('ini', 'zero file={{wrk_file}} default=false') | bool }}"
open_webui_enabled: "{{ lookup('ini', 'open_webui file={{wrk_file}} default=false') | bool }}"
open_webui_port: "{{ lookup('ini', 'open_webui_port file={{wrk_file}} default=3000' ) | int }}"
codium_config: "{{ lookup('ini', 'codium_config file={{wrk_file}} default=true' ) | bool }}"
- name: General | Account Management | Provisioning Configuration | Workstation | Boolean Check | Editing
ansible.builtin.set_fact:
@@ -385,10 +388,10 @@
- { 'bsd_gpu': "{{ bsd_gpu }}" }
- { 'mobile': "{{ mobile }}" }
- { 'redmode': "{{ redmode }}" }
- { 'ollama': "{{ ollama }}" }
- { 'automanage_models': "{{ automanage_models }}" }
- { 'zero': "{{ zero }}" }
- { 'open_webui': "{{ open_webui }}" }
- { 'ollama_enabled': "{{ ollama_enabled }}" }
- { 'manage_models': "{{ manage_models }}" }
- { 'zeroclaw_enabled': "{{ zeroclaw_enabled }}" }
- { 'open_webui_enabled': "{{ open_webui_enabled }}" }
- { 'open_webui_port': "{{ open_webui_port }}" }
- { 'codium_config': "{{ codium_config }}" }