converge.yml is replayed by check, converge, check and idempotence on both platforms, so the validation-only plays in it ran eight times per scenario. They need no container: move them to the top of verify.yml, on localhost in check mode, so they run once and a regressed refusal cannot change the controller. Applies to the default scenarios of system_baseline, docker, sshd and systemd_hardening. The systemd_hardening refusal of a drop-in entry that is not a mapping comes after the disable and mask tasks, so it moves to verify.yml but stays on the container. The README Tests sections say where each check now runs. Assisted-by: Claude Code:claude-opus-5-5
23 lines
891 B
YAML
23 lines
891 B
YAML
---
|
|
# The role runs unchanged against a signed local repository of stand-in packages (see
|
|
# prepare.yml), so the key fetch, the source line, the package install, the unit, the group
|
|
# membership and the handler are the real tasks. Only the packages are stand-ins: no Docker
|
|
# Engine is installed, and nothing here shows that dockerd works.
|
|
- name: Converge the role against the stand-in repository
|
|
hosts: all
|
|
vars:
|
|
docker_gpg_url: file:///srv/docker-stub-repo/docker.asc
|
|
docker_repo_base_url: file:///srv/docker-stub-repo
|
|
docker_users: [moleculeuser]
|
|
docker_start_missed: true
|
|
docker_stop_at_shutdown: true
|
|
docker_stop_at_shutdown_timeout: 20
|
|
docker_live_restore: true
|
|
docker_log_driver: local
|
|
docker_log_max_size: 10m
|
|
docker_log_max_file: "3"
|
|
docker_daemon_options:
|
|
max-concurrent-downloads: 3
|
|
roles:
|
|
- role: mortis.kamino.docker
|