Files
Kamino/roles/traefik/molecule/default/converge.yml
T
Defame1297 7bc3cc6bdf
Build / build (pull_request) Successful in 1m16s
Lint / lint (pull_request) Successful in 5m47s
Molecule / molecule (pull_request) Successful in 8m58s
feat(traefik): skip a fresh apt refresh and trim the scenario's repeated work
The prerequisites install takes only distribution packages and runs
before any source is added, yet refreshed the APT cache on every run.
It now passes cache_valid_time: 3600, as docker, system_baseline and
user_management already do; the README tells a consumer who adds a
source just before the role to refresh the cache themselves.

The default scenario repeated work other steps already cover. Verify
now exercises the update path once, to the other release, so prepare
builds only that stand-in; the role default's stand-in was used only
by the way back. mortis.kamino.ufw moves to prepare, as the ufw
scenario tests it, so converge and idempotence run only traefik, with
fact gathering off since none of the roles reads facts.

Closes #458

Assisted-by: Claude Code
2026-11-28 21:39:33 +00:00

11 lines
440 B
YAML

---
# Role variables come from the inventory group_vars in molecule.yml, so the idempotence step
# reruns converge with identical configuration; verify's plays override only what they test.
# mortis.kamino.ufw runs in prepare.yml, so only traefik counts toward idempotence. Facts are
# off: neither the role nor the roles it includes reads any.
- name: Converge
hosts: all
gather_facts: false
roles:
- role: mortis.kamino.traefik