Set up multiple sound server options for FreeBSD.
This commit is contained in:
@@ -4,13 +4,6 @@
|
||||
- mixertui
|
||||
state: present
|
||||
|
||||
- name: Install packages
|
||||
when: install_graphics
|
||||
package:
|
||||
name:
|
||||
- pavucontrol
|
||||
state: present
|
||||
|
||||
- name: Configure sysctls
|
||||
ignore_errors: true
|
||||
when: sound_default_unit is defined
|
||||
@@ -25,12 +18,15 @@
|
||||
- name: hw.snd.default_unit
|
||||
value: "{{ sound_default_unit }}"
|
||||
|
||||
- name: Install loader.conf
|
||||
copy:
|
||||
src: "files/{{ item }}_loader.conf"
|
||||
dest: "/boot/loader.conf.d/{{ item }}.conf"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: wheel
|
||||
- name: Configure sysctls
|
||||
sysctl:
|
||||
name: "{{ item.name }}"
|
||||
value: "{{ item.value }}"
|
||||
state: present
|
||||
sysctl_file: "/etc/sysctl.conf.local"
|
||||
loop:
|
||||
- realtime_priority
|
||||
- name: hw.snd.verbose
|
||||
value: "2"
|
||||
|
||||
- include_tasks: "tasks/freebsd_{{sound_system}}.yaml"
|
||||
when: sound_system is defined
|
||||
|
||||
Reference in New Issue
Block a user