first commit

This commit is contained in:
2024-11-29 09:24:14 +01:00
commit 8c3b5f57b5
17 changed files with 407 additions and 0 deletions

32
README.md Normal file
View File

@@ -0,0 +1,32 @@
# Linux generic essentials
Dieses Ansible Projekt beinhaltet eine generische
Grundkonfiguration, die jeder Linux Server standardmaessig haben
sollte.
## Usage
Klone dieses Repo:
```bash
git clone https://gitea.softbox.net/CubelaPetar/ansible-linux-default.git
cd ansible-linux-default
```
Oeffne die Datei `hosts.ini` und passe die IP-Adresse an (und potentiel andere relevante Variablen).
Teste mit dem folgenden _ad hoc_ Befehl die Kommunikation zum Server
```bash
ansible all -m ping
```
Dieser Befehl nutzt das Ansible `ping` Modul und sendet einen Ping an alle Server, die in der inventory-Datei `hosts.ini` hinterlegt sind.
Wenn die Kommunikation sichergestellt ist, fuehre als naechstes den Befehl
```bash
ansible-playbook run.yml -K
```
aus und gebe das `sudo` Passwort ein.