From a3a9b34baf64ef31aa759106c0da30eb68ceabab Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Sat, 30 Dec 2023 20:25:16 +0100 Subject: [PATCH] added a new role for handling bluetooth stuff --- ansible/roles/bluetooth/tasks/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ansible/roles/bluetooth/tasks/main.yml diff --git a/ansible/roles/bluetooth/tasks/main.yml b/ansible/roles/bluetooth/tasks/main.yml new file mode 100644 index 0000000..8c8ccb2 --- /dev/null +++ b/ansible/roles/bluetooth/tasks/main.yml @@ -0,0 +1,23 @@ +--- +- name: Install Bluez (Bluetooth management) + become: true + pacman: + name: bluez + state: present +- name: Install Bluez Utils (Bluetooth utilities) + become: true + pacman: + name: bluez-utils + state: present +- name: Install Bluetuith (Bluetooth Terminal UI) + become: true + kewlfft.aur.aur: + name: bluetuith + state: present + update_cache: true +- name: Start Bluetooth service + become: true + service: + enabled: true + name: bluetooth + state: started