titom73.op_deployment

One Password CLI Deployment

This is a simple Ansible role to install the One Password CLI manager on multiple platforms.

It works on the following platforms:

  • amd64: For x86_64 bit processors
  • arm: For Raspberry Pi 3
  • arm64: For Raspberry Pi 4

Installation

To install the role, use this command:

ansible-galaxy collection install titom73.op_deployment

Requirements

Your system needs to have the following tools:

  • wget
  • unzip

Role Variables

The role includes several variables with default values:

# Set whether to install or remove the op binary
op_deployment_state: present

# Should it update the binary even if it’s already installed?
op_deployment_force_update: true

# Target platform (arm/arm64/amd64)
op_deployment_platform: amd64

# Version of One Password CLI to install
op_deployment_version: 'v2.7.2'

You can also change the installation path:

# Name of the binary to install
op_deployment_bin: 'op'

# Directory where the binary will be installed
op_deployment_installation_path: '/usr/local/sbin/'

# Complete path for the binary
op_deployment_bin_path: '{{ op_deployment_installation_path }}/{{ op_deployment_bin }}'

# Path for temporary files
op_deployment_tmp: /tmp

Dependencies

There are no dependencies.

Example Playbook

Here's an example of how to use this role in a playbook, with custom variables:

- name: Install One Password CLI manager
  hosts: linux_machines
  gather_facts: true
  become: true
  tasks:

    - name: Install One Password CLI
      tags: [password]
      import_role:
        name: roles/one-password-deploy
      vars:
        op_deployment_platform: 'arm'
        op_deployment_version: 'v2.7.1'

License

This role is licensed under BSD.

Author Information

This role was created in 2022 by Thomas Grimonet.

Informazioni sul progetto

Provision One Passsword CLI

Installa
ansible-galaxy install titom73.op_deployment
Licenza
Unknown
Download
110
Proprietario
Switch, route and firewall packets but never at line-rate