remove workaround for the Wireplumber config as it is now in the repos as part of qcom-phone-utils, add files to the list of remnants of previous playbook version

This commit is contained in:
erebion 2024-10-04 00:49:56 +02:00
parent 386440ed7b
commit 1ea071738c

View file

@ -33,26 +33,6 @@
args:
chdir: /usr/share/alsa
### Wireplumber Config ###
- name: "Copy Wireplumber Config"
ansible.builtin.copy:
src: 51-qcom-sdm845.conf
dest: "/usr/share/wireplumber/wireplumber.conf.d/51-qcom-sdm845.conf"
owner: root
group: root
mode: u+rw
force: true
register: wireplumber_config
- name: "Restart Wireplumber on config change"
ansible.builtin.systemd_service:
name: wireplumber.service
state: restarted
scope: user
become_user: "{{ ansible_env.SUDO_USER }}"
when: wireplumber_config.changed
### Remove Remnants Of Previous Playbook Versions ###
- name: "Deactivate systemd unit if it exists, ignore errors if it does not"
@ -71,7 +51,9 @@
- "/opt/tinyalsa"
- "/opt/q6voiced"
- "/etc/systemd/system/q6voiced-temp.service"
- "/etc/systemd/system/q6voiced.service"
- "/etc/q6voiced.conf"
- "/usr/share/wireplumber/wireplumber.conf.d/51-qcom-sdm845.conf"
### Call Audio ###