Compare commits

..
2 Commits
Author SHA1 Message Date
me e95054d329 llm, use new variables provisioned for open-webui. 2026-10-10 04:51:10 -07:00
me 993eeda08b provision, add two new variables for open-webui. 2026-10-10 04:50:22 -07:00
2 changed files with 22 additions and 8 deletions

No files matched your search

+17 -6
View File
@@ -307,6 +307,13 @@
; open_webui_port (default=3000)
; Port on which to run the open-webui Docker instance.
;
; open_webui_key (default=yolo)
; Secret key, allows persistence between runs. If not a public-facing
; system, then not critical. Use `openssl rand -hex 16` or larger.
;
; hf_token (default=false)
; Token from Hugging Face which allows faster download speeds than anon.
;
; 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.
@@ -362,12 +369,14 @@
mobile: "{{ lookup('ini', 'mobile file={{wrk_file}} default=false') | bool }}"
redmode: "{{ lookup('ini', 'redmode file={{wrk_file}} default=true' ) | bool }}"
# LLMs
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 }}"
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 }}"
open_webui_key: "{{ lookup('ini', 'open_webui_key file={{wrk_file}} default=yolo' ) }}"
hf_token: "{{ lookup('ini', 'hf_token file={{wrk_file}} default=false') }}"
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:
@@ -393,6 +402,8 @@
- { 'zeroclaw_enabled': "{{ zeroclaw_enabled }}" }
- { 'open_webui_enabled': "{{ open_webui_enabled }}" }
- { 'open_webui_port': "{{ open_webui_port }}" }
- { 'open_webui_key': "{{ open_webui_key }}" }
- { 'hf_token': "{{ hf_token }}" }
- { 'codium_config': "{{ codium_config }}" }
# No longer mining, this is now considered deprecated.
+5 -2
View File
@@ -27,7 +27,7 @@
block:
- name: Workstation | Linux | Software | LLMs | Facts | Provisioned
debug:
ansible.builtin.debug:
var: "{{ item }}"
loop:
- ollama_enabled
@@ -35,6 +35,8 @@
- zeroclaw_enabled
- open_webui_enabled
- open_webui_port
- open_webui_key
- hf_token
- codium_config
- name: Workstation | Linux | Software | LLMs | Facts 01
@@ -342,7 +344,8 @@
-p {{ open_webui_port }}:8080 \
--add-host=host.docker.internal:host-gateway \
-v open-webui:/app/backend/data \
-e WEBUI_SECRET_KEY=7578094558f49cf38be40fc463cc0451 \
{{ ("-e " ~ hf_token) if hf_token else '' }} \
-e WEBUI_SECRET_KEY={{ open_webui_key }} \
-e OLLAMA_BASE_URL=http://host.docker.internal:11434 \
--name open-webui \
ghcr.io/open-webui/open-webui:main