Rundeck Student Assignments (Local Node Only)
—
Assignment 1: Hello World Job
Objective: Learn to create and execute your first Rundeck job.
- Instructions:
- Create a project named
starter-project - Inside it, create a job named
hello-world - Add a single script step:
echo "Hello from Rundeck!" - Run the job on the local node
- Create a project named
- Expected Outcome:
The job should execute successfully and display the output in the log.
Assignment 2: Disk Usage Check
Objective: Monitor disk usage using df -h on the local system.
- Instructions:
- Create a job named
disk-check - Add a step that runs:
df -h > /tmp/disk_report.txt - Add another step to print the contents of the file
- Create a job named
- Bonus: Schedule this job to run every day at 9:00 AM
Assignment 3: Create a Backup Job
Objective: Back up a directory to a tar.gz file.
- Instructions:
- Create a job called
backup-home - Ask the user to input the folder name via job option
- Use a script step:
tar -czf /tmp/${option.folder}.tar.gz /home/${option.folder} - Run it using
rundeckuser permissions (or sudo if needed)
- Create a job called
- Expected Outcome:
A.tar.gzfile appears in/tmp/.
Assignment 4: Write and Use a Job Option
Objective: Learn how to use user-provided input in jobs.
- Instructions:
- Create a job named
greet-user - Add a job option:
username(text input) - Script Step:
echo "Welcome, ${option.username}! Your job ran at $(date)" - Run the job and enter a custom name
- Create a job named
- Expected Outcome:
Personalized greeting message in the job log.
Assignment 5: System Health Check Job
Objective: Chain multiple system checks into a workflow.
- Instructions:
- Create a job called
health-check - Add workflow steps:
uptimefree -mwhodf -h
- Add a final step to write output to
/tmp/health_summary.txt
- Create a job called
- Bonus: Email or Slack the results (if configured)
🏁 Extra Credit Ideas (Still Local Only)
- Use environment variables inside scripts.
- Capture job output and reuse it in a follow-up step.
- Trigger one job from another using the “Job Reference” step.
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals