Finally remove pulseaudio user services

GOD this was an annoying problem
This commit is contained in:
Salt 2021-01-25 19:55:54 -06:00
parent 1eae9d247b
commit 23fac2d48e

View File

@ -3,6 +3,11 @@
- name: assure pulse package
apt: name=pulseaudio
when: ansible_os_family == 'Debian'
- name: remove user pulseaudio services
file: state=absent path={{ item }}
loop:
- /etc/systemd/user/default.target.wants/pulseaudio.service
- /etc/systemd/user/sockets.target.wants/pulseaudio.socket
- name: template out configs
template: src={{ item.src }} dest={{ item.dest }} mode=0644
loop: