aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/pipewire.yml
blob: 1192563f9fd3de93d11894594142c5d533032892 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
remember that computers suck.