fix: add output directory to configuration and run uv pip sync every time

This commit is contained in:
Lars Weiler
2026-02-16 16:39:58 +01:00
parent 1ca12e7f7a
commit 91d044d3c0
2 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -5,9 +5,8 @@
creates: "{{ destination_path }}/50ohm/.venv" creates: "{{ destination_path }}/50ohm/.venv"
become_user: "{{ fiftyohm_user }}" 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 ansible.builtin.command: uv pip sync requirements.txt
args: args:
chdir: "{{ destination_path }}/50ohm" chdir: "{{ destination_path }}/50ohm"
creates: "{{ destination_path }}/50ohm/.venv/lib/python3.*/site-packages/uv"
become_user: "{{ fiftyohm_user }}" become_user: "{{ fiftyohm_user }}"
+2 -1
View File
@@ -30,7 +30,8 @@
dest: "{{ destination_path }}/50ohm/config/config.json" dest: "{{ destination_path }}/50ohm/config/config.json"
content: > content: >
{ {
"input": "../50ohm-contents-dl" "input": "../50ohm-contents-dl",
"output": "build"
} }
owner: "{{ fiftyohm_user }}" owner: "{{ fiftyohm_user }}"
group: "{{ fiftyohm_group }}" group: "{{ fiftyohm_group }}"