Course Overview

This course is ideal for system administrators and developers who want to improve their automation workflows by adopting best practices and advanced tools in Ansible. 

This course begins with exploring how to download and use Ansible Galaxy roles and collections via ansible-galaxy and requirements.yml, followed by the creation and execution of custom environments using ansible-builder and ansible-runner. You'll also delve into enhancing role development using best practices with ansible-later. The second section covers essential file system management tasks on Linux, such as creating, modifying, and validating files and directories with Ansible modules like file, copy, stat, and get_url. Topics also include automating file reading, creating symbolic and hard links, mounting file systems, and performing file backups with Rsync. The final section provides in-depth guidance on user and group management in Linux, including creating and removing user accounts, managing permissions, and setting up disk quotas. 

By the end of this course, you'll gain the knowledge to reuse Ansible code effectively, streamline file system tasks, and manage Linux user accounts with automation precision. 

What You Will Learn

  • Download and manage Ansible roles and collections with ansible-galaxy and requirements.yml.
  • Automate file operations and permissions across Linux using Ansible modules.
  • Build and run custom Ansible environments with ansible-builder and ansible-runner.
  • Manage users
  • groups
  • partitions
  • and disk quotas in enterprise Linux systems.

Program Curriculum

  • How to Download and Use Ansible Galaxy Roles - ansible-galaxy and requirements.yml
  • Download and Use Ansible Galaxy Collection - ansible-galaxy and requirements.yml
  • Build & Run an Ansible Execution Environment - ansible-builder and ansible-runner
  • Enhancing Ansible Role Development with Best Practices with ansible-later
  • Chapter 1 Quiz

  • Create an Empty File - Ansible Module file
  • Create a Text File - Ansible Module copy
  • Check if a File Exists - Ansible Module stat
  • Create a Directory - Ansible Module file
  • Check if a Directory Exists - Ansible Module stat
  • Rename File or Directory - Ansible Module copy and file
  • Add Execute Permission 755 on Linux File - Ansible Module file
  • Delete File or Directory - Ansible Module file
  • Automating File Extension Validation with Ansible
  • Automating File Reading with Ansible
  • Create a Symbolic Link (Also symlink or Soft Link) in Linux - Ansible Module file
  • Create a Hard Link in Linux - Ansible Module file
  • Download a File - Ansible Module get_url
  • Extract an Archive - Ansible Module Unarchive
  • Mount a Windows Share in Linux SMB/CIFS - Ansible Module mount
  • Mount an NFS share in Linux - Ansible Module mount
  • Concatenate Multiple Files in a Specific Order - Ansible Module Template and YAML
  • Backup with Rsync - Local to Remote - Ansible Module Synchronize
  • Find All Files with Extension - Ansible Module find
  • Search for a String in a File - Ansible Module lineinfile
  • How to Delete Only Files Inside a Directory - Ansible Module find
  • Create ISO Image from Files and Folders - Ansible Module iso_create
  • Create a New LVM Partition - Ansible Module parted
  • Chapter 2 Quiz

  • Create a User Account - Ansible Module user
  • Remove User Account - Ansible Module user
  • Change User Password - Ansible Module user
  • Enable User Account - Ansible Module user
  • User Password Expiration - Ansible Module user
  • Create a Group in Linux - Ansible Module group
  • Manage File Permissions - Ansible Module file
  • Set up Disk Quotas - Ansible Module quota

Instructor

Luca Berton

Luca has been 14 years in the IT market with a technical background and people in mind. His strengths are Ansible automation, GNU/Linux, and cloud computing. He is a certified Red Hat System Administrator. He likes to teach and move your skills to the next level! He tries to automate as many things as possible because he considers himself a lazy person. He is a freelancer Consultant with 18 years of experience in leading cross-functional teams to deliver innovative AI and cloud solutions. He has expertise in driving technological strategies that align with business objectives and mentoring teams to achieve operational excellence. Luca has authored industry-recognized books and courses on AI, Kubernetes, and Ansible, establishing thought leadership in DevOps and cloud technologies. His track record of delivering future-proof solutions and my expertise in cutting-edge technologies position your organization for success.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Fastest Way to Level Up Your Cybersecurity Skills

Invest in your future with flexible subscription plans that give you access to the world’s largest online cybersecurity course library. Whether you're exploring cybersecurity courses for beginners or advancing your expertise,
access in-demand courses, practical labs, and CTF challenges designed to support continuous learning.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Build your cybersecurity skills with 900+ bite-sized courses and curated learning paths designed for continuous learning.

$ 69.00
Billed monthly or $599.00 billed annually

What is included

  • 880+ Premium Short Courses
  • 70+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Develop real-world cybersecurity skills through hands-on labs and CTF challenges designed for practical learning.

$ 79.00
Billed monthly or $699.00 billed annually

Everything in Pro, Plus:

  • 1600+ Hands-on lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Hands-on Labs and Challenges added every month

Related Courses

1 of 50