Runs without Cloudflare and without a real cloudflared: a stub of the Cloudflare API on the controller's loopback answers the tunnel, zone and DNS record calls through cloudflared_api_base_url, a stub binary stands in for the daemon, and the releases come from file:// URLs. Covers the converge with an update through _binary_update and its idempotence, the rendered files and the running unit, the input asserts, the deleted-tunnel and DNS guards, a stale hash and a failed checksum, the mint entry point (as child processes outside CI) and the remove path. The cloudflare_dns calls cannot reach the stub and are not run. Assisted-by: Claude Code:claude-opus-5-5
10 lines
334 B
YAML
10 lines
334 B
YAML
---
|
|
# Role variables come from the inventory group_vars in molecule.yml. The first run updates the
|
|
# stub binary from 2026.1.0 to 2026.2.0 through mortis.kamino._binary_update; the idempotence run
|
|
# finds 2026.2.0 and changes nothing.
|
|
- name: Converge
|
|
hosts: all
|
|
gather_facts: false
|
|
roles:
|
|
- role: mortis.kamino.cloudflared
|