diff --git a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml index 5e2f1460..08cf8b5f 100644 --- a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml +++ b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml @@ -150,6 +150,8 @@ - always - name: Generate _identity.json + become: true + become_user: "{{ ovos_installer_user }}" ansible.builtin.shell: cmd: | hivemind-client set-identity \ @@ -160,6 +162,7 @@ --siteid {{ ovos_installer_site_id | default("voice-sat-1") }} executable: /bin/bash environment: + PATH: "{{ ovos_installer_user_home }}/.venvs/ovos/bin" VIRTUAL_ENV: "{{ ovos_installer_user_home }}/.venvs/ovos" changed_when: false when: ovos_installer_profile == "satellite"