ansible-keepass
ansible-keepass copied to clipboard
Support for database editting
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.
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.
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.
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/