mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-08 10:26:35 +00:00
This change sets ansible_python_interpreter to /usr/bin/python3 when including 01_core.yml. It avoids permission issues when Ansible runs module-based tasks as the non-privileged AUR builder user, since the virtualenv Python binary is not executable for that user. Context and discussion: https://chatgpt.com/share/6930230d-d7e0-800f-a5dc-67d7f75020e5
System AUR Helper
Description
This role ensures that the AUR helper yay is installed on the system. It installs yay via pacman and creates a dedicated aur_builder user to facilitate building AUR packages.
Overview
The role performs the following tasks:
- Installs the AUR helper yay using pacman.
- Creates an
aur_builderuser with a home directory and adds the user to the wheel group. - Grants the
aur_builderuser passwordless sudo rights for running pacman.
Purpose
The primary purpose of this role is to streamline AUR package management on Arch Linux systems by ensuring that the required AUR helper is installed and properly configured.
Features
- Yay Installation: Installs the AUR helper yay on Arch Linux.
- User Creation: Creates a dedicated
aur_builderuser. - Sudo Configuration: Grants passwordless sudo rights to
aur_builderfor pacman.