Skip to content

feat: the RTE on Docker and Podman is the Go Runner, each job in a container - #33

Merged
blaipr merged 1 commit into
mainfrom
feat/go-runner
Nov 28, 2026
Merged

blaipr merged 1 commit into
mainfrom
feat/go-runner

Conversation

@blaipr

@blaipr blaipr commented Nov 28, 2026

Copy link
Copy Markdown
Member

From 7.9.0 the RTE of a compose installation is the RTE Runner written in Go (ansibleforms-rte-runner), as the docker repository's compose file now has it (ansibleforms/docker#53).

  • A Runner's own compose file: the Go Runner's image, RTE_IMAGE=ansibleforms-rte-full:, the engine's socket mounted, its healthcheck, and RTE_JOB_MOUNTS giving every job data/ansible (ansible.cfg, roles, collections), the SSH key, the git settings and data/python (with PYTHONPATH), as the playbooks had them in the RTE's container before.
  • The engine is found once (engine.go): Docker's socket (or DOCKER_HOST's) and its group, which the Runner joins; rootful Podman's, its systemd socket started; rootless Podman's, run as the container's root (the user running Podman). Its settings go into the .env (RTE_ENGINE, ENGINE_SOCKET, ENGINE_SOCKET_GID, RTE_USER), for a controller and a Runner alike; data/python/lib is made and given to uid 1000.
  • Upgrades switch an existing RTE in place: same container name, token and runner; a rollback restores the .env.
  • Images: AF_RUNNER_IMAGE overrides the Runner's image, AF_RTE_IMAGE still the image the jobs run.
  • The release waits for ansibleforms-rte-runner of the version too.
  • Native installs keep the Node RTE.

Verified for real: the runner compose this writes (rendered from runnerComposeFor), on Docker, joined a controller with a join token and ran a playbook form whose job got the host's ansible.cfg, PYTHONPATH and a writable SSH folder through the mounts (with ansibleforms/runner#39). Tests at 100.0%.

@blaipr
blaipr merged commit 57bf6be into main Nov 28, 2026
4 checks passed
@blaipr
blaipr deleted the feat/go-runner branch November 28, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant