14 lines
419 B
YAML
14 lines
419 B
YAML
---
|
|
# 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
|