Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Rundeck Assignments 1 – Linux


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
  • 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
  • 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)
  • 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
  • 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:
      1. uptime
      2. free -m
      3. who
      4. df -h
    • Add a final step to write output to /tmp/health_summary.txt
  • 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.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x