Skip to content

Ansible Core Runner

Automation & Backup ansible-core 2.21.4 Hardened AMI

ansible-core 2.21.4 on Ubuntu 24.04 LTS, ready to run playbooks from the instance. It comes in its own Python 3.12 environment with two pinned collections and a localhost inventory, so you can run a playbook minutes after launch. Nothing runs on its own: you start every playbook. This page covers what is on the image, its defaults and how billing works.

AMI release
0.1.1 (ansible-core 2.21.4)
Recommended
t3.medium
Storage
16 GiB+ encrypted gp3
Access
Session Manager, no inbound ports
Released
Oct 30, 2026
Delivery
Amazon Machine Image in your own AWS account

Pinned ansible-core 2.21.4 PyPI wheel with provenance receipts.

Pinned ansible.posix and ansible.utils collections; localhost inventory by default.

Bundled configuration, backup and day-2 operations documentation.

Quick start

Full guide →
  1. Subscribe
  2. Launch the instance
  3. Connect
  4. Wait for first boot
  5. Run the walkthrough
  6. Run the example playbook

What is on the image

  • ansible-core 2.21.4 in a Python 3.12 virtual environment at /opt/ansible-core/venv, installed from pinned, checksum-verified packages.
  • Two collections: ansible.posix 2.2.2 and ansible.utils 6.1.1, in /opt/ansible-core/collections.
  • The usual commands in /usr/local/bin: ansible, ansible-playbook, ansible-galaxy, ansible-inventory, ansible-doc, ansible-config and ansible-vault.
  • First-boot setup that writes the configuration, a localhost inventory, a vault password and an example playbook. Nothing secret is baked into the image.
  • A walkthrough script, /opt/sushi/docs/demo.sh.

There is no AWX, no web interface and no background service. The amazon.aws collection is not installed.

Defaults

Setting Default
Inventory localhost only, with the local connection
Privilege escalation Off
SSH host key checking On
Workspace /var/lib/ansible-core/workspace, owned by ubuntu
Vault password /etc/ansible/vault-password, root only
Network ports None. ansible-core does not listen on any port.

t3.medium with an encrypted gp3 root volume of at least 16 GiB and at least 2 GiB of memory. No inbound security group rules are needed: you connect with AWS Systems Manager Session Manager.

Billing

You pay an hourly software fee while the instance runs, as shown in the offer terms on the listing. AWS bills EC2, EBS and data transfer separately.

Tutorial

Watch on YouTube.

Where to go next

  • Getting started: subscribe, launch, connect and run the example playbook.
  • Configuration: configuration, inventory, remote hosts, privilege escalation, collections and vault.
  • Operations: security model, backups, updates and support.
  • Troubleshooting: common errors and how to fix them.

Upstream project

ansible-core is open source under GPL-3.0-or-later. See the Ansible documentation for playbooks, modules and configuration. Software Sushi packages the image; the Ansible project does not endorse or support it.