dpkg_divert module

Hi folks,

as debian needs more and more diversions from there idea of where files
should be, I created a dpkg_divert module to address that from ansible.

I'd like to give that to other ansible folks but I am not sure how to do
it.

The implementation is very robust and works with at least unstable,
stable and oldstable and maybe also oldoldstable. It can divert even
symlinks what is somewhat troublesome.

The crucial point is, that I implemented it in perl as I do not know
(and like) python to much.

How do you think it could go into ansible?

Here is the script from my playbook: