Prepare ansible setup
This commit is contained in:
parent
8be811b420
commit
0950739c06
|
|
@ -21,6 +21,7 @@ tags
|
|||
|
||||
# ---> Ansible
|
||||
*.retry
|
||||
*.ansible/
|
||||
|
||||
# ---> macOS
|
||||
# General
|
||||
|
|
|
|||
|
|
@ -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
|
||||
27
README.md
27
README.md
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
ansible-core>=2.20.2
|
||||
ansible-lint>=26.1.1
|
||||
yamllint>=1.38.0
|
||||
Loading…
Reference in New Issue