Get in Touch

Course Outline

1. Introduction to Ansible

  • Configuration Management and Automation Overview
    • Defining Configuration Management
    • The significance of automation within IT operations
  • What is Ansible?
    • Historical context and evolution
    • Principal features and advantages
  • Ansible Architecture
    • Control Node and Managed Nodes
    • Inventory and configuration files
    • Modules, Plugins, and Playbooks
  • Practical Exercise

2. Configuring Ansible

  • Installing Ansible
    • Installation procedures across various operating systems (Windows, macOS, Linux)
  • Environment Setup
    • Configuring the control node
    • Generating and distributing SSH keys
  • Practical Exercise

3. Ansible Fundamentals and Automation

  • Ad-Hoc Commands for Automation
    • Executing basic Ansible commands
    • Employing common Ansible modules (ping, command, copy, yum, apt)
  • Inventory Management
    • Distinguishing between static and dynamic inventory
    • Organising hosts into groups
    • Utilising host variables and group variables
  • Practical Exercise

4. Drafting Your Initial Playbook

Theoretical Component (20 minutes)

  • Playbook Introduction
    • Essentials of YAML syntax
    • Playbook structure: Plays, Tasks, and Variables
  • Task Automation via Playbooks
    • Sample tasks: software installation, file management, and service control
  • Practical Exercise
  • Task Control
    • Implementing Handlers and Notifications
    • Applying conditionals and loops in tasks

5. Advanced Playbook Strategies

  • Roles for Structured Automation
    • Overview of roles
    • Creating and deploying roles
  • Variables and Facts
    • Defining and utilising variables
    • Collecting and applying facts
  • Templates
    • Leveraging Jinja2 templates
    • Dynamic generation of configuration files
  • Practical Exercise

6. Conclusion and Next Steps

  • Session Recap
    • Key insights on automation with Ansible
  • Further Learning Resources
    • Recommended books, tutorials, and official documentation
  • Q&A

Requirements

A fundamental grasp of Linux/Unix commands
Familiarity with SSH and basic networking principles

 7 Hours

Testimonials (5)

Upcoming Courses

Related Categories