aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/pipewire/tasks/main.yml
blob: 6465e18edbdc5c93e50741704b123239c3e78a06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---

- 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: "{{ pipewire_workstation_user }}"
  loop:
    - pipewire
    - pipewire-pulse
  when: ansible_service_mgr == "systemd"
remember that computers suck.