Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
gather_facts: false
vars: {}
roles:
- role: uusrc.general.uv
vars:
uv_vens: { path: '/.venv', python: '3.11' }
uv_python_versions: [ '3.11' ]
# uv_become: false
# uv_become_user:
- role: ollama-serve
vars:
ollama_serve_model: "{{ model }}"
Expand All @@ -17,3 +23,4 @@
auth: sram
proxy_pass: http://localhost:3000
proxy_set_header: X-Remote-User-Mail $username@localhost

3 changes: 3 additions & 0 deletions roles/install-dependencies/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#SPDX-License-Identifier: MIT-0
---
# defaults file for install-dependencies
6 changes: 6 additions & 0 deletions roles/install-dependencies/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#SPDX-License-Identifier: MIT-0
galaxy_info:
author: Jelle Treep & Dawa Ometto & Farshad Radman & Slawa Loev
description: install dependencies with uv
license: MIT
min_ansible_version: 2.1
14 changes: 14 additions & 0 deletions roles/install-dependencies/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#SPDX-License-Identifier: MIT-0
---
# tasks file for uv-install
- name: Install dependencies
command: >
uv add
{{ item.name }}
{% if item.with is defined %}
{% for w in item.with %}--with {{ w }}{% endfor %}
{% endif %}
loop: '{{ dependencies }}'
tags:
- uv

5 changes: 5 additions & 0 deletions roles/install-dependencies/vars/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#SPDX-License-Identifier: MIT-0
---
# vars file for install-dependencies
dependencies:
- name: open-webui
Loading