Skip to content

Commit

Permalink
[ansible] Add user to video and render groups
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 17, 2023
1 parent fb99424 commit 883558b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ansible/roles/ovos_installer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- name: Include sound.yml
ansible.builtin.import_tasks: sound.yml

- name: Include video.yml
ansible.builtin.import_tasks: video.yml
when: ovos_installer_feature_gui | bool

- name: Include ovos.yml
ansible.builtin.import_tasks: ovos.yml

Expand Down
9 changes: 9 additions & 0 deletions ansible/roles/ovos_installer/tasks/video.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
- name: Add {{ ovos_installer_user }} to video and render groups
ansible.builtin.user:
name: "{{ ovos_installer_user }}"
groups: audio
append: true
loop:
- video
- render

0 comments on commit 883558b

Please sign in to comment.