Skip to main content

Ansible Cron

Hands-On Lab


Photo of

Training Architect





Scheduling jobs with Ansible by using the Cron module is one of the key skills for success with using Ansible, and now it's actually an objective of the Red Hat Certified Ansible Specialist exam.

In this hands-on lab we will use a playbook with the Cron module, and make schedule a task at a specified time. Then we will check when it was created properly, with crontab command.

Note: Ansible has been setup and configured for use on the Control server and two nodes. This will save time when doing the hands-on lab.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.