Skip to content

Commit

Permalink
[ansible] Update comment for virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 19, 2023
1 parent 3583ae4 commit 102c07e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@
- {"file": "/tmp/satellite-requirements.txt", "state": "{{ true if ovos_installer_profile == 'satellite' else false }}"}
when: item.state | bool

# We are using the file module with the recurse option because of performances
- name: Change file ownership of {{ ovos_installer_user_home }}/.venvs/ovos
# We are not using the file module but the command module because of performances "issue".
# file module takes about 50 seconds on slow devices to finish.
- name: Change files ownership of {{ ovos_installer_user_home }}/.venvs/ovos
ansible.builtin.command:
cmd: |
chown -R {{ ovos_installer_user }}:{{ ovos_installer_user }} {{ ovos_installer_user_home }}/.venvs/ovos
Expand Down

0 comments on commit 102c07e

Please sign in to comment.