---
# Role variable defaults and documentation.

# This is a list of the settings to apply using `sysctl`. Each list item is a
# `dict` with allowed key names of `name`, `value`, `state`, and `previous`.
# The settings are specified with a `name`, a `value`, and an optional `state`
# or `previous` which controls the behavior.  For example:
# kernel_settings_sysctl:
#   - name: fs.epoll.max_user_watches
#     value: 785592
#   - name: fs.file-max
#     value: 379724
kernel_settings_sysctl: []

# This is a list of the settings to apply to `/sys`. Each list item is a
# `dict` with allowed key names of `name`, `value`, `state`, and `previous`.
# The settings are specified with a `name`, a `value`, and an optional `state`
# or `previous` which controls the behavior.  For example:
# kernel_settings_sysfs:
#   - name: /sys/kernel/debug/x86/pti_enabled
#     value: 0
#   - name: /sys/kernel/debug/x86/retp_enabled
#     value: 0
#   - name: /sys/kernel/debug/x86/ibrs_enabled
#     value: 0
kernel_settings_sysfs: []

# A space delimited list of cpu numbers.
# See systemd-system.conf man page - CPUAffinity
kernel_settings_systemd_cpu_affinity:

# One of the following values: `always` `madvise` `never`. This is the memory
# subsystem transparent hugepages value.
kernel_settings_transparent_hugepages:

# One of these values: `always` `defer` `defer+madvise` `madvise` `never`.
# This is the memory subsystem transparent hugepages fragmentation handling
# value.  The actual supported values may be different depending on your OS.
kernel_settings_transparent_hugepages_defrag:

# If purge is true, completely wipe out whatever the current settings
# are and replace them with kernel_settings_parameters
kernel_settings_purge: false

# If true, the role is allowed to reboot the managed host if needed to apply
# the changes.  If false, the role will emit a message telling the user that
# some changes will require the managed host to be rebooted in order to be
# applied, and will set kernel_settings_reboot_required: true
kernel_settings_reboot_ok: false
