Confused with writing modules.

Hello everyone,
I am trying to use Ansible to start certain tasks in remode nodes.So, I run a python script which starts a JVM in the remode nodes using an integration tool named “jpype”.The code produces 3 different datasets for per node.So, I need to work on 3 main tasks:

  • Tracking currently executing and completed jobs

  • Tracking the detailed configuration of each run.

  • Tracking the current datasets that have been generated and combined.

I am not very sure if there exists any Core/Extra Module which I can use for these 3 main tasks.I’d be obliged if any one could give me suggestions regarding any related modules or on writing new modules for these certain tasks.