amend playbook to cleanup workarounds that are no longer required

This commit is contained in:
erebion 2025-01-06 17:38:37 +01:00
parent 69a298f0ad
commit 1a93fce751

View file

@ -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