Anpassung Powerpoint

This commit is contained in:
jonnybravo
2026-09-14 13:10:02 +02:00
parent b3b961dbda
commit 5fbd0c1a61
7 changed files with 31 additions and 7 deletions
+5
View File
@@ -50,6 +50,11 @@ ansible-playbook site.yml
ansible-playbook site.yml -e "nginx_port=9090"
```
> **Wichtig:** Das Playbook läuft über `connection: local` direkt auf diesem
> Rechner — „localhost" ist kein echter Host im Netzwerk, es gibt nichts, wohin
> per SSH verbunden werden müsste. (Zusätzlich ist `ansible_connection: local`
> auch im `inventory.yml` hinterlegt.)
---
## Variablen-Präzedenz im Beispiel
+2
View File
@@ -4,6 +4,8 @@
- name: Webserver auf localhost konfigurieren
hosts: localhost
connection: local # Connection-Typ "local" (lokal) — "localhost" ist der HOST
# es gibt keinen echten Host, zu dem man SSH-en könnte
gather_facts: true # Facts sammeln (OS, IP, Hostname, …)
become: true # mit sudo ausführen (für Paket-Installation)