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
10 lines
252 B
YAML
10 lines
252 B
YAML
---
|
|
# The production profile: Ubuntu LXCs. Only the profile name and the user are supplied.
|
|
- name: Converge the role with a valid profile
|
|
hosts: all
|
|
vars:
|
|
sshd_profile: ubuntu_lxc
|
|
ansible_user: root
|
|
roles:
|
|
- role: mortis.kamino.sshd
|