Set up basic ansible repo

This commit is contained in:
Marty Oehme 2025-02-21 09:56:28 +01:00
commit 9c06b98fde
Signed by: Marty
GPG key ID: 4E535BC19C61886E
5 changed files with 30 additions and 0 deletions

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# Install void linux from arch linux
Uses btrfs subvolumes, chroot and the void linux root tarball.
This is primarily made for _my_ setup to quickly get void linux up and running for playing around with stuff.

2
ansible.cfg Normal file
View file

@ -0,0 +1,2 @@
[defaults]
inventory=inventory

2
inventory Normal file
View file

@ -0,0 +1,2 @@
[host]
127.0.0.1 ansible_connection=local

18
play.yaml Normal file
View file

@ -0,0 +1,18 @@
---
- name: Example task
hosts: host
tasks:
- name: Display facts
debug:
msg: "Facts collected: {{ ansible_facts }}"
# - name: Create void btrfs subvol
# hosts: host
# vars:
# - btrfs_target: 441a90a5-3da2-46ce-9e32-987569b746c9
# tasks:
# - name: Create @voidroot subvool under root
# community.general.btrfs_subvolume:
# name: /@voidroot
# filesystem_uuid: {{ btrfs_target }}

3
requirements.yaml Normal file
View file

@ -0,0 +1,3 @@
---
collections:
- community.general