RealGecko

Results 200 comments of RealGecko

Would be nice to have your fork merged.

I tried two subsequent runs with `-vvvv` option and in both cases I see: ```log Loading collection viczem.keepass from /home/realgecko/.ansible/collections/ansible_collections/viczem/keepass KeePass: run socket for mydb.kdbx KeePass: try connect to socket...

Tried settings `keepass_ttl` to 1, does not help

Tried closing and reopening DB: same result Tried deleting record history: same result Trying to pinpoint when update happens, no luck yet

Also when I try it like this: ```yml - name: Infisical community.docker.docker_swarm_service: name: infisical image: infisical/infisical:v0.77.3-postgres env_files: - "{{ lookup('viczem.keepass.keepass', 'infrastructure/infisical', 'attachments', 'infisical-postgres.yml') }}" ``` I get an error `"Error...

File exists however, and I also noticed that files from previous runs exist too, so not removed after being read: ![image](https://github.com/user-attachments/assets/5660c413-5eb3-40e1-92e1-3fcbe3ad3183)

Same happens to custom properties BTW, I've added custom property to the entry, but `lookup('viczem.keepass.keepass', 'infrastructure/infisical', 'custom_properties', 'env_vars')` says that it cannot find such property.

Ok, some progress: 1. Initially launched with `keepass_ttl` not being set the module creates keepass unix socket and keeps it open forever 2. After system reboot (and obviously clearing the...

> Please see README: How it works. And default socket ttl is 60 seconds I think it did not work, because socket remained open until reboot.