--- - hosts: 10.66.0.1, tasks: ### Various Small Fixes ### - name: "Copy /usr/share/initramfs-tools/hooks/qcom-firmware" ansible.builtin.copy: src: qcom-firmware dest: /usr/share/initramfs-tools/hooks/qcom-firmware owner: root group: root mode: u+rwx force: true # Has been merged, but package did not have a new release yet # https://salsa.debian.org/DebianOnMobile-team/qcom-phone-utils/-/merge_requests/2 - name: "Copy custom droid-juicer service unit" ansible.builtin.copy: src: droid-juicer-sdm670.service dest: /etc/systemd/system/droid-juicer-sdm670.service owner: root group: root mode: u+rwx force: true register: unit # Original unit has a hardcoded value, we'll just use our own temporarily # https://gitlab.com/mobian1/droid-juicer/-/issues/4 - name: Reload systemd units ansible.builtin.systemd: daemon_reload: yes when: unit.changed - name: "Disable regular service unit for droid-juicer" ansible.builtin.service: enabled: false masked: true name: "droid-juicer.service" - name: "Enable custom service unit for droid-juicer" ansible.builtin.service: enabled: true name: "droid-juicer-sdm670.service" ### 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