diff options
Diffstat (limited to 'roles/workstation/tasks/pipewire.yml')
-rw-r--r-- | roles/workstation/tasks/pipewire.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/workstation/tasks/pipewire.yml b/roles/workstation/tasks/pipewire.yml new file mode 100644 index 0000000..1192563 --- /dev/null +++ b/roles/workstation/tasks/pipewire.yml @@ -0,0 +1,21 @@ +- name: install pipewire + package: + name: + - pipewire + - pipewire-alsa + - pipewire-pulse + state: present + +- name: enable and start pipewire + systemd: + name: "{{ item }}" + scope: user + enabled: true + state: started + become: true + become_method: su + become_user: "{{ workstation_user }}" + loop: + - pipewire + - pipewire-pulse + when: ansible_service_mgr == "systemd" |