working v6
This commit is contained in:
commit
77780ff216
11 changed files with 329 additions and 0 deletions
32
tasks/FreeBSD-bluetooth.yml
Normal file
32
tasks/FreeBSD-bluetooth.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
- name: install pkg for bluetooth audio
|
||||
package:
|
||||
name: virtual_oss
|
||||
state: present
|
||||
become: true
|
||||
tags:
|
||||
- install
|
||||
|
||||
- name: load the bt security module
|
||||
lineinfile:
|
||||
path: "/etc/rc.conf"
|
||||
regexp: "^{{ item.name }}"
|
||||
line: "{{ item.name }}={{ item.val }}"
|
||||
become: true
|
||||
loop: "{{ sysctl_setting }}"
|
||||
vars:
|
||||
sysctl_setting:
|
||||
- name: "hcsecd_enable"
|
||||
val: "YES"
|
||||
|
||||
- name: load the bt module
|
||||
lineinfile:
|
||||
path: "/boot/loader.conf"
|
||||
regexp: "^{{ item.name }}"
|
||||
line: "{{ item.name }}={{ item.val }}"
|
||||
become: true
|
||||
loop: "{{ sysctl_setting }}"
|
||||
vars:
|
||||
sysctl_setting:
|
||||
- name: "ng_ubt_load"
|
||||
val: "YES"
|
||||
Loading…
Add table
Add a link
Reference in a new issue