Skip to content

Ansible Core Runner

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.

Launch on AWS Marketplace Getting started

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.

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.