Files
Dmitriy Rabotyagov 59890b5ceb Leverage community.general.modprobe for kernel module management
At the moment for deb systems we use `/etc/modules` file which
is symlinked to `/etc/modules-load.d/modules.conf` file by default.

With that for EL we using
`/etc/modules-load.d/openstack-ansible.conf` which is better place
in general, but also does not prevent risk of direct conflicts with
default system configration.

Usage of `persistent` key of community.general.modprobe (which was
added in 7.0.0) allows us to not only load the module in runtime, but
also define/remove module from being loaded on boot based on the
condition.

With that we also add `params` key, which allows to supply custom
module configuration and is also controlled by `persistent` key.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/951869
Change-Id: I0e910387e021136a0680f0e6d1c63fc29ed0c6ff
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2025-06-05 16:53:49 +00:00
..
2021-06-25 13:26:46 +00:00