Cron module question / request

Hello All,

I am writing a playbook for one of pure staging servers and I need to add 5 cron jobs. However for the first two I need to add them commented, Is there a way to accomplish this with ansible currently? Maybe something like state=disable, We would like to manage the crons from ansible, but not have to completely remove them when we don’t want them running (state=absent). Right now the work around I am using is is adding a pound to the start of the cron command (job=#/tmp/command.sh) but it would be much cleaner to have the entire job commented out. Any help is assistance is appreciated.

Thanks

I would probably suggest templating the cron file instead centrally, or using cron.d in this case, versus the cron module.