I want to configure cronjobs on different servers at the same time for Data Mining. I also already followed the Ansible and crontabs steps, but so far nothing has worked. Whatever I do, I get an error message:
ERROR: cron is not a legal parameter at this level in an Ansible Playbook
I have: Ansible 1.8.1
And for some unknown reason, my modules are located in: /usr/lib/python2.6/site-packages/ansible/modules/
I would like to know exactly what steps I must follow so that Ansible installs a new cronjob in the crontab file.
- What exactly should the tutorial for installing cronjob look like?
- What is the command line to run this play?
I ask this strange question because cron documentation is not enough and the examples do not work. Perhaps my installation is incorrect, and I want to test it with a working cron example.
cron ansible
malefitz leroy
source share