Alibaba CloudLive-testedreceipt

Alibaba Cloud CLI, Checked Against Alibaba's Checksums

aliyun on EL 10 from the GitHub release, refused by Ansible's get_url unless its SHA-256 is the one in Alibaba's SHASUMS256.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 profile stops at 'aliyun configure'. Original role, live-tested on Rocky Linux 10.

ansibleCloud Toolingalicloud

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

aliyun-cli

The Alibaba Cloud CLI (aliyun) 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 aliyun; Alibaba Cloud ships versioned releases on GitHub with a checksum file (SHASUMS256.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 Alibaba Cloud published, not against what happened to arrive.

Pinned. aliyun_cli_version is what gets installed, kept in a directory of its own (/usr/local/src/aliyun-<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 aliyun ecs DescribeRegions with no credentials and expects the CLI to get to "aliyun configure" - the binary, its Alibaba Cloud client and its configuration lookup all ran; only the credentials were missing.

Credentials are per user. aliyun configure writes the user's profile; the role installs the binary only and never writes a key.

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

Related modules