/
/
/
Ansible role that installs nvidia gpu drivers and container runtime.
1# GPU
2
3NVIDIA GPU driver and container runtime installation for Ubuntu.
4
5## Key Parameters
6
7| Variable | Default | Description |
8|----------|---------|-------------|
9| `gpu_enabled` | `true` | Master toggle for GPU support |
10| `nvidia_driver_version` | `580` | NVIDIA driver version to install |
11| `nvidia_container_runtime_enabled` | `true` | Install NVIDIA Container Toolkit for Docker GPU passthrough |
12
13## Workflow
14
151. Skip entirely if `gpu_enabled` is false
162. Install NVIDIA driver from Ubuntu repository
173. Install NVIDIA Container Toolkit (if container runtime enabled)
184. Configure Docker daemon for GPU access
19