From 1a93fce751e634429fa899b6253b1d9406a37280 Mon Sep 17 00:00:00 2001 From: erebion Date: Mon, 6 Jan 2025 17:38:37 +0100 Subject: [PATCH] amend playbook to cleanup workarounds that are no longer required --- ansible/workarounds.yml | 42 ++++++----------------------------------- 1 file changed, 6 insertions(+), 36 deletions(-) diff --git a/ansible/workarounds.yml b/ansible/workarounds.yml index d286c87..71fc739 100644 --- a/ansible/workarounds.yml +++ b/ansible/workarounds.yml @@ -4,7 +4,7 @@ tasks: - ### Remove remnants of previous versions of this playbook ### + ### Remove remnants of previous versions of this playbook as none of the workarounds are required anymore ### - name: "Remove remnants from previous versions of this playbook" ansible.builtin.service: @@ -18,43 +18,13 @@ ansible.builtin.file: path: "/etc/systemd/system/droid-juicer-sdm670.service" state: absent + with_items: + - "/etc/systemd/system/droid-juicer-sdm670.service" + - "/opt/bluetooth-mac.bash" + - "/etc/udev/rules.d/bluetooth.rules" + - "/lib/udev/rules.d/90-libcamera.rules" - name: Reload systemd units ansible.builtin.systemd: daemon_reload: yes when: temp_droid_juicer_unit.changed - - ### Various Small Fixes ### - - # currently non seem to be required :) - - ### Bluetooth ### - - - name: "Copy /opt/bluetooth-mac.bash" - ansible.builtin.copy: - src: bluetooth-mac.bash - dest: /opt/bluetooth-mac.bash - owner: root - group: root - mode: u+rwx - force: true - - - name: "Copy /etc/udev/rules.d/bluetooth.rules" - ansible.builtin.copy: - src: bluetooth-udev.rules - dest: /etc/udev/rules.d/bluetooth.rules - owner: root - group: root - mode: u+rw - force: true - - - ### Camera ### - - - name: "Add udev rule for the camera" - ansible.builtin.copy: - src: "90-libcamera.rules" - dest: "/lib/udev/rules.d/90-libcamera.rules" - owner: root - group: root - force: true