ansible-collections / community.general

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

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

Open jwilliams-shadowsoft opened 1 month ago

jwilliams-shadowsoft commented 1 month 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 1 month 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