llm, move Docker section out of Open WebUI since it's now shared.
This commit is contained in:
@@ -214,6 +214,28 @@
|
|||||||
- "{{ qwen_code }}"
|
- "{{ qwen_code }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | LLMs | Docker
|
||||||
|
ansible.builtin.package:
|
||||||
|
name:
|
||||||
|
- docker
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | LLMs | Docker | runit
|
||||||
|
ansible.builtin.package:
|
||||||
|
name:
|
||||||
|
- docker-runit
|
||||||
|
state: present
|
||||||
|
when: ansible_pkg_mgr == "pacman"
|
||||||
|
|
||||||
|
- name: Workstation | Linux | Software | LLMs | Docker | Group
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "{{ item }}"
|
||||||
|
groups: docker
|
||||||
|
append: true
|
||||||
|
loop:
|
||||||
|
- root
|
||||||
|
- "{{ user }}"
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | LLMs | runit
|
- name: Workstation | Linux | Software | LLMs | runit
|
||||||
block:
|
block:
|
||||||
|
|
||||||
@@ -372,31 +394,6 @@
|
|||||||
|
|
||||||
# Open WebUI - Start #
|
# Open WebUI - Start #
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Packages
|
|
||||||
ansible.builtin.package:
|
|
||||||
name:
|
|
||||||
- docker
|
|
||||||
state: present
|
|
||||||
when: open_webui_enabled
|
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Docker Group
|
|
||||||
ansible.builtin.user:
|
|
||||||
name: "{{ item }}"
|
|
||||||
groups: docker
|
|
||||||
append: true
|
|
||||||
loop:
|
|
||||||
- root
|
|
||||||
- "{{ user }}"
|
|
||||||
when: open_webui_enabled
|
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Packages | init
|
|
||||||
ansible.builtin.package:
|
|
||||||
name:
|
|
||||||
- docker-runit
|
|
||||||
state: present
|
|
||||||
when: open_webui_enabled
|
|
||||||
and ansible_pkg_mgr == "pacman"
|
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Dir | /etc/sv
|
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Dir | /etc/sv
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "/etc/sv/open-webui/log"
|
name: "/etc/sv/open-webui/log"
|
||||||
|
|||||||
Reference in New Issue
Block a user