revert(molecule): connect with the docker CLI again
Build / build (pull_request) Successful in 34s
Lint / lint (pull_request) Successful in 3m46s
Molecule / molecule (pull_request) Successful in 36m57s

Two full runs on the docker_api connection took 45 and 49 minutes against 35 on the
CLI connection, with the same tasks a median 13% slower. The fixed Python interpreter
from the same change stays.

Refs #455

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-28 19:12:18 +00:00
1 parent cdc5937e45
commit 0961dfdff4
3 files changed
+6 -9

No files matched your search

@@ -1,6 +1,6 @@
---
# ansible_user is a connection variable: under the docker connection it would
# run every exec as <user> before the user exists. So the primary user is
# make `docker exec -u <user>` before the user exists. So the primary user is
# set explicitly instead of through the default ({{ ansible_user }}).
# bootstrap.yml: wait_for_connection succeeds over the docker connection, so the
# root fallback is never taken.