Skip to content

Commit

Permalink
[ansible/venv] Make sure its running as user
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Jul 12, 2024
1 parent 49ad24e commit 1be5108
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@
- always

- name: Generate _identity.json
become: true
become_user: "{{ ovos_installer_user }}"
ansible.builtin.shell:
cmd: |
hivemind-client set-identity \
Expand All @@ -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"
Expand Down

0 comments on commit 1be5108

Please sign in to comment.