A web-based user interface, REST API and task engine built on top of Ansible
open sourceApache-2.0self-hostablefree
AWX is Red Hat's open source web interface, REST API and distributed task engine for scheduling and running Ansible playbooks. Teams import playbooks from Git into projects, keep inventories (synced from cloud sources) and encrypted credentials in AWX, and launch job templates by hand, on a schedule, through the API or in workflows with approval steps, with role-based access deciding who can run what and notifications to Slack, email, PagerDuty and webhooks. It is the upstream of automation controller (formerly Ansible Tower) in Red Hat Ansible Automation Platform, the supported commercial product; Red Hat doesn't support AWX or recommend it for production. AWX installs on Kubernetes with the AWX Operator, and its README says releases are paused during a large-scale refactoring into a pluggable, service-oriented architecture, the last being 24.6.1 in July 2024.
Ways to install
On Kubernetes
Problems it solves
- give my team a web UI to run Ansible playbooks instead of everyone running them from their laptops
- let help desk staff launch an approved Ansible job without giving them SSH keys or shell access
- store SSH keys and cloud credentials centrally so playbooks can use them without people seeing them
- schedule Ansible playbooks to run every night and keep the output of every run
- chain several Ansible jobs into a workflow with an approval step before production
- sync our Ansible inventory automatically from AWS, Azure and other cloud sources
- pull playbooks from our Git repository so every run uses the latest version
- get a Slack or email message when an Ansible job fails
- trigger Ansible playbooks from our CI system through a REST API
- a free self-hosted alternative to Ansible Tower
- control which team can run which playbooks against which servers
- fetch passwords for playbooks from HashiCorp Vault or Azure Key Vault when the job runs
- run Ansible jobs on a cluster of workers in Kubernetes instead of one control machine
- ask whoever launches a playbook to fill in a short form of variables first
- split one huge playbook run across many hosts into parallel slices
- manage Ansible jobs, inventories and users from the command line against a central server
Features
- projects that import playbooks from Git or Subversion
- inventories with groups and hosts, synced from cloud and other sources with inventory plugins
- encrypted credentials for SSH, Vault passwords and cloud accounts, with lookups from HashiCorp Vault and Azure Key Vault
- job templates with surveys and prompts at launch
- workflows that chain job templates, inventory updates and approval steps
- schedules with recurrence rules
- role-based access control
- notifications by email, Slack, Mattermost, Rocket.Chat, PagerDuty, Twilio, IRC, AWS SNS, Grafana and webhooks
- REST API with an OpenAPI schema and a browsable API
- awx command-line client (awxkit)
View 2 more
- job slicing, clustering and container groups for running jobs at scale
- installs on Kubernetes with the AWX Operator
Limitations
- No releases since July 2024: the README says releases are paused during a large-scale refactoring, and the last release was 24.6.12
- Not recommended for production by Red Hat: its FAQ answers no, and Red Hat offers no paid support for AWX3
- No supported Docker install: running AWX in Docker is only recommended for development and testing; the AWX Operator on Kubernetes is the preferred install4
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what AWX does.
- Semaphore UI Modern UI and powerful API for Ansible, Terraform/OpenTofu/Terragrunt, PowerShell and other DevOps tools
- Rundeck Execute workflows across your existing automations or quickly automate previously manual procedures
- Windmill Code-first platform for workflows, apps and AI agents, on the fastest self-hostable orchestrator
- xyOps Job scheduling, visual workflows, server monitoring, alerting and incident response
