fix: add output directory to configuration and run uv pip sync every time
This commit is contained in:
@@ -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 }}"
|
||||||
|
|||||||
@@ -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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user