feat(packages): Add bluetooth stack
This commit is contained in:
parent
3de5e42b28
commit
8b778c1b33
1 changed files with 23 additions and 0 deletions
|
@ -37,6 +37,29 @@
|
||||||
- fontconfig
|
- fontconfig
|
||||||
listen: installed-fonts
|
listen: installed-fonts
|
||||||
|
|
||||||
|
- name: Install bluetooth
|
||||||
|
hosts: target_system
|
||||||
|
become: true
|
||||||
|
tags:
|
||||||
|
- bluetooth
|
||||||
|
tasks:
|
||||||
|
- name: Install bluetooth packages
|
||||||
|
community.general.xbps:
|
||||||
|
name:
|
||||||
|
- bluez
|
||||||
|
state: "{{ desired_package_state }}"
|
||||||
|
notify: installed-bluetooth
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- name: Activate bluetooth service
|
||||||
|
ansible.builtin.file:
|
||||||
|
force: "yes"
|
||||||
|
src: "/etc/sv/{{ item }}"
|
||||||
|
dest: "/etc/runit/runsvdir/default/{{ item }}"
|
||||||
|
state: link
|
||||||
|
with_items: [bluetoothd, dbus]
|
||||||
|
listen: installed-bluetooth
|
||||||
|
|
||||||
- name: Install basic custom void packages
|
- name: Install basic custom void packages
|
||||||
hosts: target_system
|
hosts: target_system
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue