How anish-anish/awx works
AWX is an Ansible automation controller: users manage automation through its web UI or REST API, then submit work for scheduling and execution. Its domain includes inventories, projects, job templates and jobs, workflows, access control, and notifications; supporting layers handle configuration and analytics. The README documents the UI, API, and task engine, while source-index references and excerpts clarify selected API, model, scheduler, and integration links. Many domain modules were not sampled, so their internal connections are omitted rather than inferred.
Main entry points: generics.py REST API · task_manager.py Task manager · tasks/jobs.py Job execution · models/jobs.py Jobs and templates
Components 23
User interfaces
- Web UI
awx/ui/urls.py - REST API
awx/api/generics.py - API serializers
awx/api/serializers.py - AWX client
awxkit/awxkit/api/client.py - Ansible collection
awx_collection/plugins/module_utils/controller_api.py
Automation domain
- Inventory
awx/main/models/inventory.py - Projects
awx/main/models/projects.py - Jobs and templates
awx/main/models/jobs.py - Workflow jobs
awx/main/models/workflow.py - Access control
awx/main/models/rbac.py - Schedules
awx/main/models/schedules.py - Webhook receiver
awx/api/views/webhooks.py
Execution runtime
- Task manager
awx/main/scheduler/task_manager.py - Capacity model
awx/main/scheduler/task_manager_models.py - Workflow manager
awx/main/scheduler/task_manager.py - Job execution
awx/main/tasks/jobs.py - Task dispatch
awx/main/dispatch/worker/task.py
Platform services
- Notifications
awx/main/notifications - Configuration
awx/conf/settings.py - Analytics and metrics
awx/main/analytics
Other components
- AWX user
- Ansible
- AWX database
Connections 23
- AWX user → Web UI: uses
README.md - AWX user → REST API: uses
README.md - REST API → API serializers: uses
awx/api/generics.py - API serializers → Inventory: serializes
awx/api/serializers.py - API serializers → Jobs and templates: serializes
awx/api/serializers.py - REST API → Access control: checks access
awx/api/generics.py - AWX client → REST API: calls
- Ansible collection → REST API: calls
- Webhook receiver → Jobs and templates: triggers job
awx/api/views/webhooks.py - Task manager → Capacity model: models capacity
awx/main/scheduler/task_manager.py - Task manager → Workflow manager: runs
awx/main/scheduler/task_manager.py - Workflow manager → Workflow jobs: schedules nodes
awx/main/scheduler/task_manager.py - Workflow manager → Jobs and templates: spawns jobs
awx/main/scheduler/task_manager.py - Task manager → Job execution: starts tasks
awx/main/scheduler/task_manager.py - Job execution → Task dispatch: dispatches
- Job execution → Ansible: runs automation
README.md - Jobs and templates → AWX database: stores job state
- Inventory → AWX database: stores inventory
- Projects → AWX database: stores project state
- Schedules → AWX database: stores schedules
- Job execution → Notifications: sends notifications
- Task manager → Analytics and metrics: reports metrics
awx/main/scheduler/task_manager.py - REST API → Configuration: uses settings