I've created an ansible role for dkimpy-milter, which allows to install and configure dkimpy-milter. The role also provides the means to create and use rsa and ed25519 type DKIM keys:
<https://github.com/sys4/dkimpy-role>. Please report bugs and requests for enhancements to the projects issue tracker located at <https://github.com/sys4/dkimpy-role/issues>. p@rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein