trfore.smallstep.step_cli role – Install Step CLI

Note

This role is part of the trfore.smallstep collection (version 1.1.2).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install trfore.smallstep.

To use it in a playbook, specify: trfore.smallstep.step_cli.

Entry point main – Install Step CLI

New in trfore.smallstep 1.0.0

Synopsis

  • Install step CLI, `step-cli`, for managing step CA servers and clients.

  • Installs the binary at the default path, `/usr/bin/step-cli`.

Parameters

Parameter

Comments

step_cli_checksum

string

URL to `step-cli` package checksum. If empty, the checksum is skipped.

Default: "https://github.com/smallstep/cli/releases/download/v{{ step_cli_version }}/checksums.txt"

step_cli_pkg_src

string

URL to `step-cli` package. Can be overridden in playbook when using a proxy.

Default: "https://github.com/smallstep/cli/releases/download/v{{ step_cli_version }}/step-cli_{{ step_cli_version }}_amd64.{{ __pkg_extension }}"

step_cli_version

string

SemVer of `step-cli` to install, e.g. `0.15.7`, defaults to the latest version.

Default: "latest"