Add become: true to prepare step
This commit is contained in:
@@ -3,10 +3,12 @@
|
|||||||
args:
|
args:
|
||||||
chdir: "{{ destination_path }}/50ohm"
|
chdir: "{{ destination_path }}/50ohm"
|
||||||
creates: "{{ destination_path }}/50ohm/.venv"
|
creates: "{{ destination_path }}/50ohm/.venv"
|
||||||
|
become: true
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|
||||||
- name: Install or update uv project in {{ destination_path }}/50ohm
|
- name: Install or update uv project in {{ destination_path }}/50ohm
|
||||||
ansible.builtin.command: uv sync
|
ansible.builtin.command: uv sync
|
||||||
args:
|
args:
|
||||||
chdir: "{{ destination_path }}/50ohm"
|
chdir: "{{ destination_path }}/50ohm"
|
||||||
|
become: true
|
||||||
become_user: "{{ fiftyohm_user }}"
|
become_user: "{{ fiftyohm_user }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user