add pulseaudio role

This commit is contained in:
Alexander Grothe 2017-07-08 13:38:13 +02:00
parent 2a4dc82e21
commit 9d61950078
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,15 @@
---
- name: install pulseaudio
apt:
name: '{{ item }}'
state: present
install_recommends: no
with_items:
- pulseaudio
- pavucontrol
- name: create /etc/asound.conf
template:
src: templates/alsa/asound.conf.j2
dest: /etc/asound.conf

View File

@ -0,0 +1,14 @@
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}