HetznerLive-testedreceipt

Hetzner CLI, Checked Against Hetzner's Checksums

hcloud on EL 10 from the GitHub release, refused by Ansible's get_url unless its SHA-256 is the one in Hetzner's checksums.txt, and re-checked with sha256sum -c by the live test. No package exists; most installs curl the tarball and never open the checksum file. Pinned; an API call without a context stops at 'no active context or token'. Original role, live-tested on Rocky Linux 10.

ansibleCloud Toolinghetzner

Verification

Live-tested

Really deployed to a container sandbox, proven idempotent (a second run changes nothing), verified against the role’s assertions, then torn down.

Conformance

  • Static validation (yamllint · ansible-lint)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live-tested - applied, verified, destroyed

Last verified 2026-09-19 · podman 4.9.3 · ansible 2.21.4 · how we verify

Documentation

hcloud-cli

The Hetzner Cloud CLI (hcloud) on EL 10 from the vendor's GitHub release, checked against the SHA-256 the vendor published beside it, pinned to a version, installed as root's binary in /usr/local/bin. Original role for EL 10, live-tested with podman on Rocky Linux 10.

No package, so the checksum is the whole story. EL 10 carries no hcloud; Hetzner Cloud ships versioned releases on GitHub with a checksum file (checksums.txt) beside the assets. Most installs curl the asset and never open that file. This role downloads both and has Ansible's get_url refuse the asset unless its SHA-256 is the one in the vendor's file; the live test runs sha256sum -c against the same file afterwards. A download is verified against what Hetzner Cloud published, not against what happened to arrive.

Pinned. hcloud_cli_version is what gets installed, kept in a directory of its own (/usr/local/src/hcloud-<version>) so the checksum file and the asset it names stay together. A newer release is a variable change and a run; the same version is changed=0.

Proven to run. The live test calls hcloud server list with no credentials and expects the CLI to get to "no active context or token" - the binary, its Hetzner client and its configuration lookup all ran; only the credentials were missing.

What is not checked. Hetzner also publishes checksums.txt.sig; this role verifies the SHA-256, not that signature. Contexts and tokens are per user (hcloud context create); the role installs the binary only.

License

Commercial - IaC Bazaar EULA. (c) IaC Bazaar.

Usage code & full reference need an account

The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.

  • Variables
  • Test