I want to have all cron jobs of a server parsed by Ansible and write the existing entries into a JSON file on the Ansible management node.
Sadly I have no idea how to read the crontab and even more how to write all entries into a JSON.
Intention of this requirement:
This JSON shall be used by administrators to manage centrally all crons of all servers and to be able to push "Updates" down to the nodes.
How to solve this requirement?