-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple entries with one file open #1
Comments
I tried with something like
for t in terms[0]:
entry_path = t.get('path').strip('/')
entry_attr = t.get('variable')
# entry getting code here And using something like keepass_dict:
- username:
path: 'path/to/entry'
variable: 'username'
- password:
path: 'path/to/entry'
variable: 'password'
- become:
path: 'path/to/entry'
variable: password
ansible_user: "{{ lookup('keepass',keepass_dict)}}" This lacks the yml side of handling the returning array or dict, whichever is gonna be returned. |
There are two ways to use this plugin - without and with a UNIX socket (see README).
|
Would it be possible to get multiple entries without opening the keepass file multiple times? Currently it is time consuming when many entries get fetched during one playbook.
The text was updated successfully, but these errors were encountered: