19 lines
463 B
YAML
19 lines
463 B
YAML
# - name: Install packages
|
|
# package:
|
|
# name:
|
|
# - foo
|
|
# state: present
|
|
|
|
- name: Configure sysctls
|
|
when: sound_default_unit is defined
|
|
sysctl:
|
|
name: "{{ item.name }}"
|
|
value: "{{ item.value }}"
|
|
state: present
|
|
sysctl_file: "/etc/sysctl.conf.local"
|
|
# Disabling loading the sysctl because the unit does not exist when not docked.
|
|
reload: false
|
|
loop:
|
|
- name: hw.snd.default_unit
|
|
value: "{{ sound_default_unit }}"
|