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
16 lines
475 B
YAML
16 lines
475 B
YAML
---
|
|
- name: Converge the LXC profile
|
|
hosts: all
|
|
gather_facts: true
|
|
vars:
|
|
system_baseline_system_type: ubuntu_lxc
|
|
system_baseline_extra_packages: [jq]
|
|
system_baseline_extra_remove_packages: [ed]
|
|
system_baseline_tmux_autostart: true
|
|
system_baseline_apt_daily_timeout: 1h
|
|
system_baseline_tmux_session: molecule
|
|
system_baseline_tmux_windows:
|
|
- { name: logs, command: "echo 'a b'; true" }
|
|
roles:
|
|
- role: mortis.kamino.system_baseline
|