xoxys.kernel/templates/etc/modprobe.d/custom.conf.j2

12 lines
343 B
Plaintext
Raw Normal View History

2019-11-03 23:22:18 +00:00
#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
{% for module in kernel_disable_modules %}
install {{ module }} /bin/true
{% endfor %}
{% if (kernel_blacklist_modules + kernel_disable_modules) | length > 0 %}
{% for module in (kernel_blacklist_modules + kernel_disable_modules) %}
2019-11-03 23:22:18 +00:00
blacklist {{ module }}
{% endfor %}
{% endif %}