diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-07-09 16:44:51 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-07-09 16:44:51 +0200 |
commit | e42324011666ac22388ceaa9a0937bff0450807c (patch) | |
tree | 7eaafc019f6c896e7e088078abfac2a9dc1b3df9 /roles/slim/raspbian/tasks/main.yml | |
parent | prometheus: increase level for read/write latency alert (diff) |
dolmetsch-rapsi: fix autorestarting of service units
Diffstat (limited to 'roles/slim/raspbian/tasks/main.yml')
-rw-r--r-- | roles/slim/raspbian/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/slim/raspbian/tasks/main.yml b/roles/slim/raspbian/tasks/main.yml index d943d6aa..39b0c66f 100644 --- a/roles/slim/raspbian/tasks/main.yml +++ b/roles/slim/raspbian/tasks/main.yml @@ -1,4 +1,20 @@ --- +- name: remove legacy device-tree overlays for rpi3 + loop: + - pi3-disable-wifi + - pi3-disable-bt + lineinfile: + path: /boot/config.txt + line: "dtoverlay={{ item }}" + state: absent + +- name: enable/disable bluetooh + lineinfile: + path: /boot/config.txt + line: dtoverlay=disable-bt + insertafter: '^\[all\]' + state: "{{ raspbian_disable_bluetooth | ternary('present', 'absent') }}" + - name: enable/disable wifi lineinfile: path: /boot/config.txt |