summaryrefslogtreecommitdiffstats
path: root/roles/obs/tasks/pulse.yml
blob: f9a18f768dac747fa901164679d2539a916d57fd (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
- name: Create pulse directory
  file:
    state: directory
    path: "~{{ emacsconf_user }}/.config/pulse/"
    owner: "{{ emacsconf_user }}"
    group: "{{ emacsconf_group }}"
- name: Set up pulse configuration
  template:
    src: pulse
    owner: "{{ emacsconf_user }}"
    group: "{{ emacsconf_group }}"
    dest: "~{{ emacsconf_user }}/.config/pulse/default.pa"
    mode: 0755
- name: Change ownership
  file:
    state: directory
    path: "~{{ emacsconf_user }}/.config/pulse/"
    owner: "{{ emacsconf_user }}"
    group: "{{ emacsconf_group }}"
    recurse: true
# - name: Start pulseaudio
#   become_user: "{{ emacsconf_user }}"
#   shell: pulseaudio --start