2022-12-18 04:36:53 +01:00
|
|
|
---
|
|
|
|
- name: Remove dtparam=audio=on
|
2023-05-09 21:12:46 +02:00
|
|
|
become: true
|
2022-12-18 04:36:53 +01:00
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
line: dtparam=audio=on
|
|
|
|
dest: /boot/config.txt
|
|
|
|
state: absent
|
|
|
|
notify: Restart system
|
2023-05-09 21:12:46 +02:00
|
|
|
|
2022-12-18 04:36:53 +01:00
|
|
|
- name: Set audio=off for dtoverlay=vc4-kms-v3d
|
2023-05-09 21:12:46 +02:00
|
|
|
become: true
|
2022-12-18 04:36:53 +01:00
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
regexp: ^dtoverlay=vc4-kms-v3d
|
|
|
|
line: dtoverlay=vc4-kms-v3d,audio=off
|
|
|
|
dest: /boot/config.txt
|
|
|
|
notify: Restart system
|
2023-05-09 21:12:46 +02:00
|
|
|
|
2022-12-18 04:36:53 +01:00
|
|
|
- name: Add hifiberry dtoverlay
|
2023-05-09 21:12:46 +02:00
|
|
|
become: true
|
2022-12-18 04:36:53 +01:00
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
line: "dtoverlay={{ hifiberry__device }}"
|
|
|
|
dest: /boot/config.txt
|
|
|
|
notify: Restart system
|