Делаем playbook
nano cron_add.yml
- hosts : pgcluster_ries
tasks :
- name : remove crontab test
cron: name="crontab test" state=absent
Будут удален крон crontab test
Удалить все кроны
- hosts : pgcluster_ries
tasks :
- name : remove crontab test
shell: crontab -r