Workshop wiki · German and English

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 examples as ZIP files
Learning progress in the web app

Mark chapters as read, view reading progress and check off practice modules after enabling the optional web app. Workshop progress is calculated from chapters across all document pages. Your choices stay on this device; there is no account or server sync. Installation is not required. Withdrawing your choice in Privacy settings deletes the progress.

Reading progress0%
0%
0 / 3 chapters read

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 modules as one continuous learning path.

The sequence remains unchanged: from the lab skeleton through technical foundations and operating models to final troubleshooting. The technical directory names are deliberately preserved.

Orthevs – Engineering the foundation for what comes next.

Orthevs as an app

Install Orthevs

The Orthevs web app can be installed on supported mobile devices and desktop browsers.

iPhone and iPad

Open Orthevs in Safari. Tap Share, then Add to Home Screen. Enable Open as Web App if offered, then tap Add.

Android

For the web app, open the browser menu and choose Install app or Add to Home screen. Confirm the installation.

Desktop browser

Open the browser menu or the install icon in the address bar, then choose Install app or Add to Dock.

Web app installation depends on your browser. If no install prompt appears, follow the browser steps shown above.