mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-11 11:34:40 +02:00
Added dependencies for yay
This commit is contained in:
parent
28ebb675a7
commit
c628c1edcd
24
roles/fakeroot/README.md
Normal file
24
roles/fakeroot/README.md
Normal 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)
|
21
roles/fakeroot/meta/main.yml
Normal file
21
roles/fakeroot/meta/main.yml
Normal 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: []
|
11
roles/fakeroot/tasks/main.yml
Normal file
11
roles/fakeroot/tasks/main.yml
Normal 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
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user