aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/pipewire.yml
blob: 1fc83a9ea1936415e8f5ca1f1596354f0a6a6340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- name: install pipewire
  ansible.builtin.package:
    name:
      - pipewire
      - pipewire-alsa
      - pipewire-pulse
      - mda.lv2
    state: present

- name: enable and start pipewire
  ansible.builtin.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.