It should have at least become a role that could be called in the different contexts of the environment it was targetting. Ansible's real power is in the hierarchical inventory, which can be used to efficiently describe the state of all of the things (I use it for everything from cloud things to specific machine things).
https://docs.ansible.com/ansible/latest/dev_guide/developing...
Then just writing a function.