ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
830 stars 1.53k forks source link

Add ability to get "all" from lastpass lookup #8684

Open jwilliams-shadowsoft opened 3 months ago

jwilliams-shadowsoft commented 3 months ago

Summary

It would be a nice feature to get "all" the items from a LastPass lookup, similar to lpass show --json UNIQUENAME. It could return the entire secret as JSON, then the caller could break out the fields as required.

Currently, in order to retrieve multiple fields from the secret, multiple calls to the lookup plugin are required. Although the overhead involved is probably low, the amount of Ansible code to do so is significant.

Issue Type

Feature Idea

Component Name

lastpass

Additional Information

No change

Code of Conduct

ansibullbot commented 3 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help