Each of the seven vzdump cases ran the whole update entry point in check
mode, when they assert only the guard's decision. The guard now lives in
an internal tasks/vzdump_guard.yml, imported by update.yml so the update
tag, when and main-flow vars still reach it. Six cases include it
alone; the ubuntu_lxc case keeps running tasks_from: update end to end,
and a static check asserts the guard is imported before the upgrade and
that the upgrade's when reads its fact.
The purge of unwanted packages becomes one apt call over the installed
ones, skipped when none is installed. The scenario's gathering plays
use gather_subset min: the role reads only os_family and package_facts.
Closes#456
Assisted-by: Claude Code
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
Adds the plan package, which turns a ticket or idea into a validated
spec and agent-ready tickets and ships the /next command. Its deployed
command is ignored like the deployed skills and agents.
The lock moves to lockfile_version 4 because apm-cli 0.38.1, the
version pinned in requirements-dev.txt, upgrades it on install.
Assisted-by: Claude Code:claude-opus-5-5
The docker driver's community.docker.docker connection starts the docker CLI for every task
on every host, and each playbook run discovers the interpreter on every container although
both molecule images ship /usr/bin/python3. The shared base config now sets
provisioner.connection_options, which molecule merges over the driver's own connection vars
for the container hosts only, so localhost keeps the controller's Python.
community.docker 5.4.1's docker_api connection supports pipelining and become and needs only
requests, which requirements-dev.lock already pins. The docker CLI bind mount in molecule.yml
stays until a green run shows nothing needs it; its comment and two others that named the
CLI's calls now describe the API connection.
Closes#455
Assisted-by: Claude Code
Part of #432. The start-order test now reads its scenarios and their seconds
from the run script's list, so a refreshed list does not break it; the
empty-lanes test only asserts the value is accepted, and the script's header
and duration-list comments are rewrapped and say the list is keyed by
scenario directory.
Assisted-by: Claude Code
Part of #432. A long scenario started late sets the end of a full run, so
run_molecule_scenarios.sh now starts scenarios by the durations of the last
full run, longest first, with an unlisted scenario first; the log groups keep
the selection order. A workflow_dispatch input `lanes` reaches the script as
MOLECULE_LANES, so full runs with different lane counts can be compared; an
empty value keeps the default of 4.
The shared molecule config enables ansible.posix.profile_tasks (summary only)
and ansible.posix.timer, so each scenario's log shows where its time goes.
Assisted-by: Claude Code
Set docker_keyring_checksum together with docker_gpg_url, and state that
the checksum is the hex digest without the sha256: prefix.
Assisted-by: Claude Code
The key that signs the Docker repository was trusted as whatever the URL served. It is now checked
against a pinned sha256, so a changed key stops the install until a person has verified it.
Assisted-by: Claude Code
The molecule image ships without apt lists, and --check does not refresh
them, so the fresh-host check found no nfs-common to install and failed
with "No package matching 'nfs-common' is available". The docker, pihole,
system_baseline and traefik scenarios refresh the cache in prepare for the
same reason.
Refs #402
Assisted-by: Claude Code
Installs nfs-common and manages NFS mount entries from nfs_client_mounts
(src, path, optional opts, state present or absent). Each mount point is
created without owner, group or mode, because once a share is mounted a
chown or chmod there changes the permissions on the NFS server. The role
writes only the fstab line and reloads systemd; it never mounts or
unmounts. An absent entry maps to ansible.posix.mount's absent_from_fstab,
which removes the line and leaves the share and the directory alone.
The default options are _netdev,nofail. x-systemd.automount is left out.
Verified locally: yamllint, ansible-lint (production profile), syntax check
of the scenario playbooks, the controller-side refusals of verify.yml (14
cases, each matched on its own message), and the module's fstab behaviour
against a scratch fstab (replacement, absent_from_fstab, idempotence).
Not verified: Molecule, which runs only in CI; the apt install and the
daemon-reload handler; that systemd generates the mount units in the
scenario's containers.
Refs #402
Assisted-by: Claude Code
Minor release: new inputs for system_baseline (extra packages, skipping
the upgrade during a vzdump backup, leaving journald alone), cloudflared
and traefik, a staleness window for distribution-only APT refreshes, and
facts read through ansible_facts in docker, gitea_runner and
system_baseline.
Assisted-by: Claude Code
The new check on system_baseline_journal_max_use refused sizes journald
accepts (a bare byte count, 1.5G, 10 M, P and E units), which 3.1.0
wrote as given, and accepted infinity, which SystemMaxUse does not take.
The check now follows journald's parse_size(): a number with an
optional upper-case B, K, M, G, T, P or E, still with no line break.
Assisted-by: Claude Code