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
rundeck
user permissions (or sudo if needed)
- Create a job called
- Expected Outcome:
A.tar.gz
file 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:
uptime
free -m
who
df -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 a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Do you want to learn Quantum Computing?
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND