Role - edpm_accel_drivers¶
osp.edpm.edpm_accel_drivers role – The main entry point for the edpm_accel_drivers role.¶
Entry point main – The main entry point for the edpm_accel_drivers role.¶
Synopsis¶
Installs and configures GPU accelerator drivers on RHEL systems. Supports installation of NVIDIA and AMD GPU drivers from repositories or custom URLs. Uses a plugin-style architecture where new GPU vendors can be added via configuration.
Parameters¶
Parameter |
Comments |
|---|---|
Main configuration dictionary for GPU accelerator drivers |
|
The directory to cache downloaded driver packages Default: |
|
Whether to cleanup temporary files after driver installation Choices:
|
|
Download configuration settings |
|
The seconds between retries for failed download tasks Default: |
|
The number of retries for failed download tasks Default: |
|
GPU-specific feature configurations |
|
NVIDIA MIG (Multi-Instance GPU) configuration |
|
List of MIG geometry strings, one per GPU. Index 0 applies to GPU 0, index 1 to GPU 1, etc. Each string is passed to nvidia-smi mig -cgi (e.g. “14,14,14,14” or “2g.12gb,2g.12gb”). Required when manage is true. An empty (or shortened) list removes previously configured systemd units and disables MIG on affected GPUs. Default: |
|
Whether to configure NVIDIA MIG (Multi-Instance GPU) partitioning Choices:
|
|
Map of GPU vendor configurations. Each vendor key (e.g., nvidia_gpu, amd_gpu, intel_gpu) contains its driver installation configuration. New vendors can be added by adding a new key with the same structure. |
|
AMD GPU driver configuration |
|
AMD GPU custom URL configuration |
|
Whether to disable GPG check when installing RPM (not recommended for production) Choices:
|
|
Whether to disable SSL certificate verification when downloading (not recommended for production) Choices:
|
|
Custom AMD driver URL. Must end with .rpm (SUPPORTED) extension. NOTE: file:/// URLs are supported, for example a local NFS mount. Default: |
|
List of kernel modules to disable for AMD GPU Default: |
|
Whether to install AMD GPU drivers Choices:
|
|
AMD GPU repository configuration |
|
Whether to disable GPG check when installing AMD driver (not recommended for production) Choices:
|
|
GPG key URL for AMD repository verification Default: |
|
DNF module name for AMD GPU drivers. Used only if module_stream is set Default: |
|
DNF module stream for AMD GPU drivers. If set to empty string, no DNF module will be selected Default: |
|
Set to true for repositories with flat structure (no $basearch subdirectory). The URL will be used as-is without appending /$basearch/ Choices:
|
|
Package name to install from repository for AMD GPU drivers Default: |
|
AMD repository URL for driver installation Default: |
|
NVIDIA GPU driver configuration |
|
NVIDIA GPU custom URL configuration |
|
Whether to disable GPG check when installing RPM (not recommended for production) Choices:
|
|
Whether to disable SSL certificate verification when downloading (not recommended for production) Choices:
|
|
Custom NVIDIA driver URL. Must end with .rpm (SUPPORTED) or .run extension (UNSUPPORTED on RHEL). NOTE: file:/// URLs are supported, for example a local NFS mount. Default: |
|
List of kernel modules to disable for NVIDIA GPU Default: |
|
Whether to install NVIDIA GPU drivers Choices:
|
|
NVIDIA GPU repository configuration |
|
Whether to disable GPG check when installing NVIDIA driver (not recommended for production) Choices:
|
|
GPG key URL for NVIDIA repository verification Default: |
|
DNF module name for NVIDIA GPU drivers. Used only if module_stream is set Default: |
|
DNF module stream for NVIDIA GPU drivers. If set to empty string, no DNF module will be selected Default: |
|
Set to true for repositories with flat structure (no $basearch subdirectory). The URL will be used as-is without appending /$basearch/ Choices:
|
|
Package name to install from repository for NVIDIA GPU drivers Default: |
|
NVIDIA repository URL for driver installation Default: |