Workshop-Wiki · Deutsch und Englisch

Ansible Workshop Examples

Dieser Bereich enthält lauffähige und bewusst kleine Beispielprojekte für den Ansible Workshop. Jedes Beispiel besitzt ein eigenes ansible.cfg, Inventory, Playbook und Dokumentation unter docs/de und docs/en.

Workshop-Beispiele als ZIP
Lernstand in der Web-App

Kapitel als gelesen markieren, Lesefortschritt sehen und Praxismodule abhaken: Diese Funktionen stehen nach Aktivierung der optionalen Web-App zur Verfügung. Der Workshop-Fortschritt ergibt sich automatisch aus den Kapiteln aller Dokumentseiten. Deine Auswahl bleibt auf diesem Gerät; es gibt kein Konto und keinen Serverabgleich. Eine Installation ist nicht erforderlich. Beim Widerruf in den Datenschutz-Einstellungen wird der Lernstand gelöscht.

Lesefortschritt0%
0%
0 / 3 Kapitel gelesen

Ansible Workshop Examples

Inhaltsverzeichnis / Table of Contents

01 / 03

1. Deutsch

Dieser Bereich enthält lauffähige und bewusst kleine Beispielprojekte für den Ansible Workshop. Jedes Beispiel besitzt ein eigenes ansible.cfg, Inventory, Playbook und Dokumentation unter docs/de und docs/en.

  1. Lab Skeleton - Grundstruktur für ein Ansible-Lab
  2. Inventory Basics - YAML-Inventory, Gruppen und lokale Verbindung
  3. Ad-hoc Diagnostics - Diagnosebefehle als Playbook nachvollziehen
  4. First Playbook - erstes idempotentes Playbook mit Markerdatei
  5. Template and Handler - Template rendern und Handler auslösen
  6. Variables and Facts - Variablen und Facts sicher anzeigen
  7. Loops and Conditionals - Schleifen und Bedingungen anwenden
  8. Role Webserver Local - lokale Webserver-Rolle ohne Systemänderung
  9. Block Rescue Always - kontrollierte Fehlerbehandlung
  10. Tags Check Diff - Tags, Check Mode und Diff Mode
  11. Vault Dummy Flow - Secret-Flow ohne echte Secrets
  12. Includes and Imports - statische und dynamische Task-Wiederverwendung
  13. Serial Rollout - gestaffelte Ausführung mit serial
  14. Delegate Run Once - Delegation und run_once
  15. Assertions Preflight - Preflight-Prüfungen mit Assertions
  16. Collections Requirements - versionierte Collection-Abhängigkeiten
  17. Multi Environment Inventory - Inventories für dev, stage und prod
  18. Group and Host Vars - Gruppen- und Hostvariablen vergleichen
  19. Jinja Filters - Jinja2-Filter in Templates
  20. File Line Blockinfile - Datei-, Zeilen- und Blockmodule
  21. Package Service Baseline - Paket- und Service-Facts ohne Installation
  22. Users Authorized Keys Model - Benutzer- und SSH-Key-Modell als Dummy-Dateien
  23. Async Poll - asynchrone Tasks und Polling
  24. Wait For Local Path - Warten auf lokale Pfade
  25. Fact Cache JSON - Fact-Caching-Konfiguration im Lab
  26. Dynamic Inventory Script - kleines ausführbares Dynamic Inventory
  27. Ansible Lint CI Skeleton - CI-Skelett für Syntax und Linting
  28. Molecule Role Skeleton - Rollen-Teststruktur mit Molecule-Dateien
  29. AWX Job Template Model - AWX-/Controller-Jobmodell als Datenstruktur
  30. Execution Environment Definition - Execution-Environment-Dateien erklären
  31. Troubleshooting Unreachable Failed - Fehlerstatus unterscheiden

Hinweise:

  • Code, Variablen, Dateinamen und Kommentare bleiben englisch.
  • Die Beispiele verwenden localhost, lokale Markerdateien unter /tmp oder Dokumentationsdaten.
  • Vor echten Zielsystemen immer Inventory, Pattern und --limit prüfen.
  • Beispiele mit AWX, Molecule oder Execution Environments beschreiben Strukturen, ohne externe Plattformen aufzurufen.
02 / 03

2. English

This area contains runnable and intentionally small example projects for the Ansible workshop. Each example has its own ansible.cfg, inventory, playbook, and documentation under docs/de and docs/en.

  1. Lab Skeleton - starter structure for an Ansible lab
  2. Inventory Basics - YAML inventory, groups, and local connection
  3. Ad-hoc Diagnostics - reproduce diagnostic commands as a playbook
  4. First Playbook - first idempotent playbook with marker file
  5. Template and Handler - render a template and trigger a handler
  6. Variables and Facts - show variables and facts safely
  7. Loops and Conditionals - apply loops and conditionals
  8. Role Webserver Local - local webserver role without system changes
  9. Block Rescue Always - controlled error handling
  10. Tags Check Diff - tags, check mode, and diff mode
  11. Vault Dummy Flow - secret flow without real secrets
  12. Includes and Imports - static and dynamic task reuse
  13. Serial Rollout - staged execution with serial
  14. Delegate Run Once - delegation and run_once
  15. Assertions Preflight - preflight checks with assertions
  16. Collections Requirements - versioned collection dependencies
  17. Multi Environment Inventory - inventories for dev, stage, and prod
  18. Group and Host Vars - compare group and host variables
  19. Jinja Filters - Jinja2 filters in templates
  20. File Line Blockinfile - file, line, and block modules
  21. Package Service Baseline - package and service facts without installation
  22. Users Authorized Keys Model - user and SSH key model as dummy files
  23. Async Poll - asynchronous tasks and polling
  24. Wait For Local Path - waiting for local paths
  25. Fact Cache JSON - fact caching configuration in the lab
  26. Dynamic Inventory Script - small executable dynamic inventory
  27. Ansible Lint CI Skeleton - CI skeleton for syntax and linting
  28. Molecule Role Skeleton - role test structure with Molecule files
  29. AWX Job Template Model - AWX/Controller job model as data structure
  30. Execution Environment Definition - explain execution environment files
  31. Troubleshooting Unreachable Failed - distinguish failure states

Notes:

  • Code, variables, file names, and comments stay in English.
  • The examples use localhost, local marker files under /tmp, or documentation data.
  • Always verify inventory, pattern, and --limit before targeting real systems.
  • Examples involving AWX, Molecule, or execution environments describe structures without calling external platforms.
03 / 03

ANS · Orthevs Academy

31 Module als durchgängiger Lernpfad.

Die Reihenfolge bleibt unverändert: von der Laborgrundstruktur über fachliche Grundlagen und Betriebsmodelle bis zum abschließenden Troubleshooting. Die technischen Verzeichnisnamen werden bewusst beibehalten.

Orthevs – Engineering als Grundlage für das, was als Nächstes kommt.

Orthevs als App

Orthevs installieren

Die Orthevs Web-App kann auf unterstützten Mobilgeräten und Desktop-Browsern installiert werden.

iPhone und iPad

Öffnen Sie Orthevs in Safari. Tippen Sie auf Teilen, dann auf ‚Zum Home-Bildschirm‘. Aktivieren Sie gegebenenfalls ‚Als Web-App öffnen‘ und tippen Sie auf ‚Hinzufügen‘.

Android

Für die Web-App öffnen Sie das Browsermenü und wählen ‚App installieren‘ oder ‚Zum Startbildschirm hinzufügen‘. Bestätigen Sie die Installation.

Desktop-Browser

Öffnen Sie das Browsermenü oder das Installationssymbol in der Adressleiste und wählen Sie ‚App installieren‘ beziehungsweise ‚Zum Dock hinzufügen‘.

Die Web-App-Installation hängt vom Browser ab. Falls kein Installationsdialog erscheint, nutzen Sie die angezeigten Schritte im Browser.