Enable bluetooth in linux.

This commit is contained in:
Tom Alexander 2023-02-18 12:19:58 -05:00
parent b4735a6daf
commit e35f622a0d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
4 changed files with 22 additions and 15 deletions

View File

@ -19,3 +19,11 @@
# name:
# - foo
# state: present
# - name: Enable services
# systemd:
# enabled: yes
# name: "{{ item }}"
# daemon_reload: yes
# loop:
# - foo.service

View File

@ -1 +0,0 @@
ng_ubt_load="YES"

View File

@ -1,9 +0,0 @@
- name: Install loader.conf
copy:
src: "files/{{ item }}_loader.conf"
dest: "/boot/loader.conf.d/{{ item }}.conf"
mode: 0644
owner: root
group: wheel
loop:
- bluetooth

View File

@ -14,8 +14,17 @@
# state: present
# update_cache: true
# - name: Install packages
# package:
# name:
# - foo
# state: present
- name: Install packages
package:
name:
- bluez
- bluez-utils
state: present
- name: Enable services
systemd:
enabled: yes
name: "{{ item }}"
daemon_reload: yes
loop:
- bluetooth.service