21 lines
576 B
Django/Jinja
21 lines
576 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
[main]
|
|
include={{ item.1 }}
|
|
summary={{ item.1 }} + TCP/RAID tweaks + AMDGPU {{ item.0 }}
|
|
|
|
# reference/execute AMDGPU control script
|
|
# used because some sysfs interfaces are transactional
|
|
# cannot be set by a single param in 'tuned'/[sysfs]
|
|
[gpuclockscript]
|
|
type=script
|
|
script=${i:PROFILE_DIR}/amdgpu-clock.sh
|
|
{% if plugins is defined %}
|
|
{% for section, options in plugins.items() %}
|
|
{#+ give each plugin section some space +#}
|
|
[{{ section }}]
|
|
{% for key, value in options.items() %}
|
|
{{ key }}={{ value }}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endif %}
|