AWX / Ansible Tower Workflow Templates: Design and Automation
Expert · 45 minutes · 100 points
In this expert-level lab, you will simulate the core concepts behind AWX/Ansible Tower Workflow Templates using native Ansible tooling inside a container. Since AWX requires a full Kubernetes or Docker Compose stack, this lab replicates the workflow template pattern — chaining multiple playbooks with conditional branching, shared inventories, and job template dependencies — using Ansible's own workflow primitives (import_playbook, conditionals, and structured project layouts). You will build a multi-stage CI/CD-style workflow that mirrors exactly what you would configure in AWX Workflow Templates, giving you the foundational knowledge to translate these patterns directly into AWX.
What you’ll learn
- Understand and implement the structure of AWX Workflow Templates using chained Ansible playbooks with conditional branching
- Build a multi-stage workflow with pre-check, deploy, and post-validate job templates that mirror AWX node types (success/failure paths)
- Implement shared inventory, group variables, and workflow-level extra variables to simulate AWX survey and workflow variable passing
- Validate the full workflow executes correctly end-to-end with proper success/failure path handling
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: cytopia/ansible:latest
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: ansible, awx, ansible-tower, workflow-templates, automation, ci-cd, playbooks, orchestration, devops, job-templates
Create a free account to start this lab.