ref(playbook): Change to role-based structure
This commit is contained in:
parent
95fd68bed8
commit
b3b280fbe4
39 changed files with 635 additions and 601 deletions
16
roles/bluetooth/tasks/main.yaml
Normal file
16
roles/bluetooth/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
- name: Install bluetooth packages
|
||||
community.general.xbps:
|
||||
name:
|
||||
- bluez
|
||||
state: "{{ desired_package_state }}"
|
||||
tags: packages
|
||||
|
||||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue