Prepare ansible setup

This commit is contained in:
L3D 2026-02-21 17:06:15 +01:00
parent 8be811b420
commit 0950739c06
No known key found for this signature in database
5 changed files with 39 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ tags
# ---> Ansible
*.retry
*.ansible/
# ---> macOS
# General

8
.yamllint Normal file
View File

@ -0,0 +1,8 @@
---
extends: default
rules:
# 150 chars should be enough, but don't fail if a line is longer
line-length:
max: 180
level: warning

View File

@ -1,6 +1,31 @@
# arch-obs-setup
Ansible-Managed Arch Linux OBS Setup
**Ansible-Managed Arch Linux OBS Setup**
In diesem Git-Repository entsteht ein Linux OBS Setup. Aktuell ist das alles noch sehr **WORK IN PROGRESS**!
# Allgemeine Hinweise
Das git Repository verwendet git Submodule. Zum auschecken macht es also ggf. sinn, folgende git commands einzusetzen:
```bash
git submodule update --init --recursive
git config submodule.recurse true
```
Git submodule werden hier zum Beispiel verwendet und ansible rollen und collections zu integrieren.
## Ansible
Das **inventory** des ansible findet sich in der ``hosts.ini``. Um das Setup für andere hosts anzuwenden, ist das auf jeden Fall ein Blick wert.
Natürlich im zusammenspiel mit den ``host_vars`` und den ``group_vars``.
Das spannenste **Playbook** ist vermutlich das ``site.yml``, hier wird das gesamte Setup aufgesetzt.
## Requirements
Dieses Ansible Setup setzt ein vorinstalliertes Arch-Linux vorraus, in das die ausführende Person per ssh ansible ausrollen kann.
# License

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
ansible-core>=2.20.2
ansible-lint>=26.1.1
yamllint>=1.38.0

1
site.yml Normal file
View File

@ -0,0 +1 @@
---