mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 01:46:50 +00:00
- Introduce global IS_CONTAINER flag based on ansible_virtualization facts - Skip systemd-based handlers and tasks when running inside containers - Extend EXCLUDED_ROLES list in GitHub Actions test-deploy workflow - Ensure docker.sock is mounted for all CI deploy stages - Improve sys-svc-docker by suppressing service restarts inside containers - Add meta: flush_handlers to properly trigger delayed docker restarts - Update sys-service handlers with container guards - Update sys-timer tasks to avoid systemctl inside CI containers - Enhance drv-non-free role with Manjaro detection and mhwd fallback warning - Skip swapfile generation in containers - Minor service template fixes and cleanup in proxy.conf.j2 Details and discussion: https://chatgpt.com/share/6930a4ca-56f4-800f-9b3d-4791f040a03b
Non-Free Drivers
Description
This Ansible role installs non-free GPU drivers on Arch Linux systems by invoking the mhwd utility. It ensures that the appropriate proprietary drivers for your PCI graphics hardware are installed and ready for use.
Overview
- Uses the
ansible.builtin.shellmodule to runmhwd -a pci nonfree 0300 - Automatically detects your PCI graphics adapter and installs the recommended non-free driver
- Designed to be run once per host to provision proprietary GPU support
Features
-
Automatic Hardware Detection
Leveragesmhwd’s built-in auto-detect feature (0300) to select the correct driver. -
Proprietary Driver Installation
Installs the latest non-free GPU driver (e.g., NVIDIA, AMD) provided through Arch’smhwdsystem. -
Simple Execution
Single-task role with minimal overhead.