Kestra vs. Ansible Automation Platform : Red Hat's controller for Ansible jobs vs. YAML flows that run playbooks next to Terraform, scripts and API calls.

Ansible Automation Platform is Red Hat's subscription product for running Ansible playbooks as jobs, with an automation controller, an automation hub and Event-Driven Ansible. Kestra is an open-source orchestration platform that runs playbooks as tasks in YAML flows, next to Terraform, scripts and API calls.

Ansible Automation Platform or Kestra?

Ansible Automation Platform is the better fit if

  • Your automation is Ansible content, and you want Red Hat support, certified collections and a private automation hub for it.
  • Operators launch job templates from the controller with surveys, and inventories and credentials are managed centrally there.
  • Your organization already runs RHEL or OpenShift under a Red Hat subscription.

Choose Kestra if

  • You need Ansible orchestration across tools: playbooks are one step in larger workflows that also run Terraform, scripts, SQL or ServiceNow calls.
  • You want workflows as YAML files in Git, with branching, loops and data passed between tasks.
  • You want to self-host for free under Apache 2.0, with no count of managed nodes.

How do Ansible Automation Platform and Kestra compare, feature by feature?

Workflow definition Job templates and workflow job templates stored in the controller, built in the UI or with the ansible.controller collection YAML flows, validated against each plugin's schema on save
What a step runs A job template, project sync, inventory sync, approval or another workflow Any plugin task, such as Ansible, Terraform, scripts, SQL and HTTP calls
Branching Nodes link to the next on success, failure or always, and can converge If, Switch, Parallel, Loop and subflows, plus an errors block
Data between steps Artifacts set with set_stats pass to downstream nodes Task outputs, plus files in internal storage passed by URI
Triggers Schedules, API calls, and Event-Driven Ansible rulebooks that launch job or workflow templates Schedules, webhooks, flow triggers, polling and realtime triggers
Forms and approvals Surveys on templates and approval nodes in workflows Flow inputs as forms, Pause tasks for approval, and Apps (Kestra Enterprise)
Ansible content Certified partner collections and private content in automation hub Any collection installed in the task's image or declared as a Galaxy dependency
Hosting Containers on RHEL, the operator on OpenShift, or the AWS, Azure, Google Cloud and Oracle Cloud marketplaces Docker or Kubernetes, air-gapped (Kestra Enterprise), or Kestra Cloud
Pricing Subscription counted in managed nodes, quoted by Red Hat Free open source; Kestra Cloud billed on usage
License Red Hat subscription; upstream AWX is Apache 2.0 and ansible-core is GPLv3 Apache 2.0

Which infrastructure teams run Ansible on Kestra?

Heavy industry

30× faster delivery of hybrid cloud automations, with Ansible doing the configuration work inside each Kestra flow.

We eliminated the high cost and risk of VMware vRA. What used to take 6 months now takes 6 days with Kestra!

Principal Hosting

Read the story

Banking

100+ managed clusters automated with Kestra flows that replaced Ansible scripts chained by Jenkins.

Kestra allowed us to move from fragmented automation to a unified control plane—secure, scalable, and manageable by all our teams.

Julien Legrand, Data Product Owner

Read the story

Telecom

2 months from evaluation to production for a platform that delivers provisioned, tested integration environments.

From a technical point of view, Kestra sits at the first place.

Alex Lernerman, DevOps Engineer, Amdocs

Read the story

How are Ansible Automation Platform and Kestra built?

Ansible Automation Platform runs playbooks as jobs from templates stored in its controller. Kestra stores each workflow as a YAML file, and a playbook is one of its tasks.

  • Ansible Automation Platform: templates in a controller

    A job template ties a playbook from a project to an inventory and credentials. A workflow job template links templates as nodes, and the controller runs each job in an execution environment, a container image built with ansible-builder.

    • Projects sync playbooks from Git
    • Inventories and credentials are controller objects
    • Automation hub serves certified and private collections
    • Event-Driven Ansible matches events to rulebook actions
  • Kestra: declarative flows

    A flow is a YAML file of tasks, triggers and error handlers. The executor tracks state in Kestra's database and hands each task to a worker, which runs a playbook in a container, a Terraform plan or an API call.

    • Playbooks and inventories come from Git or namespace files
    • Each plugin task is checked against its schema on save
    • Worker groups run tasks inside a given network (Kestra Enterprise)
    • Every save creates a revision you can diff and roll back

What does the same patching workflow look like in each?

The same workflow in both: an approval, a patch playbook, a verification playbook, and a rollback playbook if either one fails.

Get started with Kestra
Workflow job template as code patch_workflow.yml
1- name: Patch, verify and roll back on failure2  ansible.controller.workflow_job_template:3    name: patch-and-verify4    organization: Ops5    inventory: production-linux6    extra_vars:7      patch_type: security8    workflow_nodes:9      - identifier: approve10        unified_job_template:11          name: Approve patching12          type: workflow_approval13        related:14          success_nodes:15            - identifier: patch16      - identifier: patch17        unified_job_template:18          name: patch-servers19          type: job_template20        related:21          success_nodes:22            - identifier: verify23          failure_nodes:24            - identifier: rollback25      - identifier: verify26        unified_job_template:27          name: verify-servers28          type: job_template29        related:30          failure_nodes:31            - identifier: rollback32      - identifier: rollback33        unified_job_template:34          name: rollback-servers35          type: job_template
/ Flows / patch_and_verify
1id: patch_and_verify2namespace: ops.patching34inputs:5  - id: patch_type6    type: SELECT7    values: [security, full, kernel]8    defaults: security910tasks:11  - id: approve12    type: io.kestra.plugin.core.flow.Pause1314  - id: patch15    type: io.kestra.plugin.ansible.cli.AnsibleCLI16    containerImage: cytopia/ansible:latest-tools17    namespaceFiles:18      enabled: true19    commands:20      - ansible-playbook -i inventory.ini patch.yml -e patch_type={{ inputs.patch_type }}2122  - id: verify23    type: io.kestra.plugin.ansible.cli.AnsibleCLI24    containerImage: cytopia/ansible:latest-tools25    namespaceFiles:26      enabled: true27    commands:28      - ansible-playbook -i inventory.ini verify.yml2930errors:31  - id: rollback32    type: io.kestra.plugin.ansible.cli.AnsibleCLI33    containerImage: cytopia/ansible:latest-tools34    namespaceFiles:35      enabled: true36    commands:37      - ansible-playbook -i inventory.ini rollback.yml

What does it take to get Ansible Automation Platform and Kestra running?

Both run on your own infrastructure. Ansible Automation Platform installs on RHEL with Red Hat's installer, and Kestra starts from one Compose file.

Ansible Automation Platform Subscription required
$tar xfvz ansible-automation-platform-containerized-setup-<version_number>.tar.gz$cd ansible-automation-platform-containerized-setup-<version_number>$ansible-playbook -i inventory ansible.containerized_installer.install

Red Hat's containerized installation guide installs the platform as Podman containers on RHEL 9 or 10. It needs an Ansible Automation Platform subscription and a RHEL subscription, at least 16 GB of RAM and 4 CPUs per VM, and an inventory file you fill in before running the installer.

Kestra Database included
$curl -o docker-compose.yml https://raw.githubusercontent.com/kestra-io/kestra/develop/docker-compose.yml$docker compose up

One Compose file starts Kestra and its Postgres database. Open localhost:8080, pick a blueprint and run it. Production runs the same image on Kubernetes with the Kestra Helm chart.

How hard is it to move from Ansible Automation Platform to Kestra?

Leaving Ansible Automation Platform

Playbooks, roles, collections and inventories are Ansible content in Git, so they move unchanged. Job templates, surveys, credentials, schedules and workflow graphs live in the controller database, so each one has to be listed and mapped.

Moving to Kestra

Each job template becomes an Ansible task, each survey becomes flow inputs, each workflow graph becomes a flow with an errors block, and each schedule becomes a trigger. While templates move in waves, a Kestra HTTP task can launch an existing job template through the controller's REST API.

How do Ansible Automation Platform and Kestra compare on licensing, pricing and self-hosting?

Ansible Automation Platform

A Red Hat subscription with Standard (business hours) or Premium (24x7) support, priced on request. Red Hat counts managed nodes for the subscription, and the managed estate may not exceed the number entitled. AWX, the upstream project, is Apache 2.0, and its README says releases are paused during a large refactoring.

Kestra

Apache 2.0 and free to self-host, with no limits on flows or executions. Kestra Cloud is billed on usage, and Kestra Enterprise is licensed per instance. Both are on the pricing page.

Three ways to run Kestra

Try it alone, try it managed, or talk to an expert who has done the migration before.

Kestra Core

Open Source

Where most teams start, and where many experiment with a first production. Self-hosted and free, with no limits on flows or executions.

Get started

Kestra Cloud

Early Access

Managed by the people who build Kestra. No platform to run, pay for what you use.

Try Kestra Cloud
Find the edition that fits your team

Questions from Ansible Automation Platform teams

SOC 2 GDPR

SOC 2 Type 2 and GDPR, independently audited. The report is available on request.

Security overview