Added dependencies for yay

This commit is contained in:
Kevin Veen-Birkenbach 2025-04-01 22:57:07 +02:00
parent 28ebb675a7
commit c628c1edcd
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
5 changed files with 62 additions and 2 deletions

24
roles/fakeroot/README.md Normal file
View File

@ -0,0 +1,24 @@
# Fakeroot
## Description
This Ansible role installs **fakeroot** on Arch Linux systems using the Pacman package manager. Fakeroot enables non-privileged users to simulate root-level file manipulations—ideal for building packages or performing file operations that normally require root permissions.
Learn more about fakeroot on [Wikipedia](https://en.wikipedia.org/wiki/Fakeroot) and check out its details on the [Arch Linux Package Repository](https://archlinux.org/packages/?q=fakeroot).
## Purpose
The purpose of this role is to automate the installation of fakeroot so that users can simulate superuser operations without requiring elevated privileges. This is particularly useful in development environments and during package building processes.
## Features
- **Automated Installation:** Uses Pacman to install fakeroot.
- **Idempotent Execution:** Ensures that fakeroot is installed and remains up to date.
- **Simplified Setup:** Minimizes manual installation steps for environments where fakeroot is required.
## Credits
Developed and maintained by **Kevin Veen-Birkenbach**.
Learn more at [www.veen.world](https://www.veen.world)
License: [CyMaIS NonCommercial License (CNCL)](https://s.veen.world/cncl)

View File

@ -0,0 +1,21 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Installs fakeroot on Arch Linux using Pacman, enabling non-privileged file manipulations required for package building and development."
license: "CyMaIS NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
min_ansible_version: "2.9"
platforms:
- name: Archlinux
versions:
- rolling
galaxy_tags:
- fakeroot
- pacman
- archlinux
- development
dependencies: []

View File

@ -0,0 +1,11 @@
---
- name: Install fakeroot
pacman:
name: fakeroot
state: present
when: run_once_fakeroot is not defined
- name: run the fakeroot tasks once
set_fact:
run_once_fakeroot: true
when: run_once_fakeroot is not defined

View File

@ -21,4 +21,5 @@ galaxy_info:
repository: "https://s.veen.world/cymais"
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
dependencies: []
dependencies:
- fakeroot

View File

@ -1,6 +1,9 @@
- name: install yay
community.general.pacman:
name: yay
name:
- yay
- patch
- base-devel
state: present
- name: Create the `aur_builder` user