community / community.general / 1.3.14 / lookup / lastpass fetch data from lastpass Authors: Andrew Zenk (!UNKNOWN) <azenk@umn.edu>community.general.lastpass (1.3.14) — lookup
Install with ansible-galaxy collection install community.general:==1.3.14
collections: - name: community.general version: 1.3.14
use the lpass command line utility to fetch specific fields from lastpass
- name: get 'custom_field' from lastpass entry 'entry-name' ansible.builtin.debug: msg: "{{ lookup('community.general.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 elements: str type: list