ansible-keepass icon indicating copy to clipboard operation
ansible-keepass copied to clipboard

Support for database editting

Open LecrisUT opened this issue 1 year ago • 3 comments

Firstly, thank you for the implementation of this, it works very nicely. One additional feature that would be nice to have is to have a viczem.keepass.entry (and maybe even viczem.keepass.database) module that modify keepass database entries (and databases respectively). This could even be integrated with the lookup to automatically generate the entry if a variable keepass_generate_entry is defined true.

LecrisUT avatar Jan 23 '23 10:01 LecrisUT

I think that more reliable and easier variant is using prepared data. With pykepass which you have to install for use this plugin, it is not difficult to pre generate any number of entities by self.

viczem avatar Feb 09 '23 23:02 viczem

There are some roles like in freeipa that automatically generates a password, e.g. for the ansible administrator user, and other playbooks like a Update_CA_Root where you would want it to keep the database up to date.

LecrisUT avatar Feb 13 '23 08:02 LecrisUT

Hey, we just wrote an Ansible-Collection to edit keepass entries. Maybe it fits your needs.

https://galaxy.ansible.com/ui/repo/published/torie_coding/keepass/

Torie-Coding avatar Oct 04 '23 11:10 Torie-Coding