Wiki workshop · Γερμανικά και αγγλικά

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 σε ZIP
Πρόοδος μάθησης στη web app

Σημειώστε κεφάλαια ως αναγνωσμένα, δείτε την πρόοδο ανάγνωσης και ολοκληρώστε πρακτικές ενότητες αφού ενεργοποιήσετε την προαιρετική web app. Η πρόοδος του workshop υπολογίζεται από τα κεφάλαια όλων των σελίδων τεκμηρίωσης. Οι επιλογές μένουν σε αυτή τη συσκευή· δεν υπάρχει λογαριασμός ή συγχρονισμός με server. Δεν απαιτείται εγκατάσταση. Η ανάκληση στις Ρυθμίσεις απορρήτου διαγράφει την πρόοδο.

Πρόοδος ανάγνωσης0%
0%
0 / 3 κεφάλαια που διαβάστηκαν

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 ως ενιαία διαδρομή μάθησης.

Η σειρά παραμένει αμετάβλητη: από τη βασική δομή του lab μέσω τεχνικών θεμελίων και λειτουργικών μοντέλων έως το τελικό troubleshooting. Τα τεχνικά ονόματα καταλόγων διατηρούνται σκόπιμα.

Orthevs – Η μηχανική ως βάση για όσα ακολουθούν.

Το Orthevs ως εφαρμογή

Εγκατάσταση του Orthevs

Η web app του Orthevs μπορεί να εγκατασταθεί σε υποστηριζόμενες κινητές συσκευές και browsers υπολογιστή.

iPhone και iPad

Ανοίξτε το Orthevs στο Safari. Πατήστε Κοινή χρήση και μετά Προσθήκη στην οθόνη αφετηρίας. Ενεργοποιήστε το Άνοιγμα ως web app, αν εμφανίζεται, και πατήστε Προσθήκη.

Android

Για τη web app, ανοίξτε το μενού του browser και επιλέξτε Εγκατάσταση εφαρμογής ή Προσθήκη στην αρχική οθόνη. Επιβεβαιώστε την εγκατάσταση.

Browser υπολογιστή

Ανοίξτε το μενού του browser ή το εικονίδιο εγκατάστασης στη γραμμή διευθύνσεων και επιλέξτε Εγκατάσταση εφαρμογής ή Προσθήκη στο Dock.

Η εγκατάσταση της web app εξαρτάται από τον browser. Αν δεν εμφανιστεί διάλογος εγκατάστασης, ακολουθήστε τα βήματα του browser που αναφέρονται παραπάνω.