From 91d044d3c0fb683674620cded4ad915de12103c8 Mon Sep 17 00:00:00 2001 From: Lars Weiler Date: Mon, 16 Feb 2026 16:39:58 +0100 Subject: [PATCH] fix: add output directory to configuration and run `uv pip sync` every time --- roles/build-50ohm/tasks/prepare.yml | 3 +-- roles/install-sources/tasks/main.yml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/build-50ohm/tasks/prepare.yml b/roles/build-50ohm/tasks/prepare.yml index 9fa0baf..153c58b 100644 --- a/roles/build-50ohm/tasks/prepare.yml +++ b/roles/build-50ohm/tasks/prepare.yml @@ -5,9 +5,8 @@ creates: "{{ destination_path }}/50ohm/.venv" become_user: "{{ fiftyohm_user }}" -- name: Install dependencies with uv pip in {{ destination_path }}/50ohm +- name: Install or update dependencies with uv pip in {{ destination_path }}/50ohm ansible.builtin.command: uv pip sync requirements.txt args: chdir: "{{ destination_path }}/50ohm" - creates: "{{ destination_path }}/50ohm/.venv/lib/python3.*/site-packages/uv" become_user: "{{ fiftyohm_user }}" diff --git a/roles/install-sources/tasks/main.yml b/roles/install-sources/tasks/main.yml index f855c87..f709918 100644 --- a/roles/install-sources/tasks/main.yml +++ b/roles/install-sources/tasks/main.yml @@ -30,7 +30,8 @@ dest: "{{ destination_path }}/50ohm/config/config.json" content: > { - "input": "../50ohm-contents-dl" + "input": "../50ohm-contents-dl", + "output": "build" } owner: "{{ fiftyohm_user }}" group: "{{ fiftyohm_group }}"