ansible/roles/pi-hifiberry-amp/tasks/main.yml

14 lines
337 B
YAML
Raw Normal View History

2020-05-10 15:25:38 +02:00
---
- name: Deactivate normal audio
lineinfile:
path: /boot/config.txt
regexp: "^#?dtparam=audio=on"
line: "#dtparam=audio=on"
notify: reboot
- name: Activate Hifiberry
lineinfile:
path: /boot/firmware/config.txt
2020-05-10 15:25:38 +02:00
regexp: "^#?dtoverlay=hifiberry-amp"
2021-07-20 15:35:12 +02:00
line: "dtoverlay={{hifiberry_overlay}}"
2020-05-10 15:25:38 +02:00
notify: reboot