ansible / ansible.builtin / v2.9.24 / lookup / lastpass fetch data from lastpass | "added in version" 2.3 of ansible.builtin" Authors: Andrew Zenk <azenk@umn.edu>ansible.builtin.lastpass (v2.9.24) — lookup
pip
Install with pip install ansible==2.9.24
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