community.general.lastpass (0.1.4) — lookup

fetch data from lastpass

Authors: Andrew Zenk <azenk@umn.edu>

Install collection

Install with ansible-galaxy collection install community.general:==0.1.4


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.4

Description

use the lpass command line utility to fetch specific fields from lastpass


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get 'custom_field' from lastpass entry 'entry-name'
  debug:
    msg: "{{ lookup('lastpass', 'entry-name', field='custom_field') }}"

Inputs

    
field:
    default: password
    description: field to return from lastpass

_terms:
    description: key from which you want to retrieve the field
    required: true

Outputs

_raw:
  description: secrets stored