--- # site.yml — Haupt-Playbook # Ruft die Rolle "webserver" für localhost auf. - name: Webserver auf localhost konfigurieren hosts: localhost gather_facts: true # Facts sammeln (OS, IP, Hostname, …) become: true # mit sudo ausführen (für Paket-Installation) roles: - role: webserver vars: # Playbook-Variablen (überschreibt Defaults) domain: localhost