mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	Shorted generic- to gen-
This commit is contained in:
		
							
								
								
									
										24
									
								
								roles/gen-fakeroot/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								roles/gen-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/gen-fakeroot/meta/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								roles/gen-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/gen-fakeroot/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								roles/gen-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
 | 
			
		||||
		Reference in New Issue
	
	Block a user