An Ansible role to install 1Password CLI tools.
See the release notes for the 1Password CLI.
It is assumed that curl
, gpg
, and unzip
are available.
-
op_cli_version
- The version of the tool (e.g.0.5.3
). -
op_cli_platform
- The platform of the tool to install (e.g.linux_amd64
ordarwin_amd64
). -
op_cli_install_path
- The path to install the tool. -
op_cli_check_gpg_signature
- If the GPG signature of the SHA sum file should be checked (e.g."true"
).
No dependencies.
- hosts: servers
roles:
- role: bluk.1password-cli
vars:
op_cli_version: 0.5.3
op_cli_platform: darwin_amd64
op_cli_install_path: /usr/local/bin