-
Notifications
You must be signed in to change notification settings - Fork 3
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
In-memory cache rather than on-disk #3
Comments
My original attempt was in-memory (just a dict at the top of the module), but I couldn't get that to actually work... 😕 |
Exactly what I tried and how I failed, when building my own plugin before discovering yours! 😄 It seems Ansible starts a whole new global context or something... Anyway, if anyone would find a way, I'd be happy to hear about it. |
You could also make sqlite run in-memory only instead of using the disk by replacing the following:
with
|
Feature request. It would be great if it was possible to not write the cache to disk. I'm was trying to use this module to cache my expensive passwordstore lookups (ansible/ansible#52290), but I'd rather not write my passwords in plaintext to disk if this is not necessary.
The text was updated successfully, but these errors were encountered: