/ansible-role-1password-cli

An Ansible role to install the 1Password CLI tool.

Primary LanguageShellApache License 2.0Apache-2.0

ansible-role-1password-cli

Apache-2.0 License Build Status

An Ansible role to install 1Password CLI tools.

See the release notes for the 1Password CLI.

Requirements

It is assumed that curl, gpg, and unzip are available.

Role Variables

  • 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 or darwin_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").

Dependencies

No dependencies.

Example Playbook

- 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

License

Apache 2.0