fix: Use uv sync instead to update all project requirements
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
creates: "{{ destination_path }}/50ohm/.venv"
|
creates: "{{ destination_path }}/50ohm/.venv"
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|
||||||
- name: Install or update dependencies with uv pip in {{ destination_path }}/50ohm
|
- name: Install or update uv project in {{ destination_path }}/50ohm
|
||||||
ansible.builtin.command: uv pip sync requirements.txt
|
ansible.builtin.command: uv sync
|
||||||
args:
|
args:
|
||||||
chdir: "{{ destination_path }}/50ohm"
|
chdir: "{{ destination_path }}/50ohm"
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user