Get in Touch

Course Outline

1. An Overview of Ansible

  • Configuration Management and Automation Overview
    • Understanding Configuration Management
    • The role of automation in IT operations
  • What is Ansible?
    • Historical context and development
    • Distinctive features and advantages
  • Ansible Architecture
    • Control Node and Managed Nodes
    • Inventory and Configuration files
    • Modules, Plugins, and Playbooks
  • Practical Exercise

2. Establishing Ansible

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

3. Ansible Fundamentals and Automation

  • Utilising Ad-Hoc Commands for Automation
    • Executing basic Ansible commands
    • Employing standard Ansible modules (ping, command, copy, yum, apt)
  • Managing Inventory
    • Contrasting Static and Dynamic inventory
    • Organising hosts into groups
    • Working with host variables and group variables
  • Practical Exercise

4. Composing Your Initial Playbook

Theory (20 minutes)

  • Introduction to Playbooks
    • Basics of YAML syntax
    • Playbook structure: Plays, Tasks, Variables
  • Automating Tasks with Playbooks
    • Sample tasks: software installation, file management, and service handling
  • Practical Exercise
  • Task Management
    • Integrating Handlers and Notifications
    • Applying conditionals and loops within tasks

5. Advanced Playbook Concepts

  • Roles for Organised Automation
    • Understanding roles
    • Creating and utilising roles
  • Variables and Facts
    • Defining and implementing variables
    • Collecting and using facts
  • Templates
    • Utilising Jinja2 templates
    • Dynamically generating configuration files
  • Practical Exercise

6. Conclusion and Next Steps

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

Requirements

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

 7 Hours

Number of participants


Price per participant

Testimonials (5)

Upcoming Courses

Related Categories