community / community.general / 0.2.1 / lookup / lastpass fetch data from lastpass Authors: Andrew Zenk <azenk@umn.edu>community.general.lastpass (0.2.1) — lookup
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
use the lpass command line utility to fetch specific fields from lastpass
- name: get 'custom_field' from lastpass entry 'entry-name' debug: msg: "{{ lookup('lastpass', 'entry-name', field='custom_field') }}"
field: default: password description: field to return from lastpass _terms: description: key from which you want to retrieve the field required: true
_raw: description: secrets stored