Course Outline
1. Introduction to Ansible
- Overview of Configuration Management and Automation
- Defining configuration management.
- The critical role of automation in IT operations.
- What is Ansible?
- Historical context and evolution.
- Primary features and advantages.
- Ansible Architecture
- Distinction between Control Node and Managed Nodes.
- The function of inventory files and configuration settings.
- Understanding Modules, Plugins, and Playbooks.
- Hands-On Exercise
2. Setting Up Ansible
- Installing Ansible
- Installation procedures across various operating systems (Windows, macOS, Linux).
- Setting Up the Environment
- Configuring the control node.
- Generating and distributing SSH keys.
- Hands-On Exercise
3. Ansible Basics and Automation
- Ad-Hoc Commands for Automation
- Executing straightforward Ansible commands.
- Leveraging standard modules (
ping,command,copy,yum,apt).
- Inventory Management
- Differences between static and dynamic inventory.
- Organizing hosts into groups.
- Utilizing host variables and group variables.
- Hands-On Exercise
4. Writing Your First Playbook
Theory (20 minutes)
- Introduction to Playbooks
- Basics of YAML syntax.
- Structural elements: Plays, Tasks, and Variables.
- Automating Tasks with Playbooks
- Practical examples: software installation, file management, and service control.
- Hands-On Exercise
- Task Control
- Incorporating handlers and notifications.
- Implementing conditionals and loops within tasks.
5. Advanced Playbook Concepts
- Roles for Structured Automation
- Concept of roles.
- Creating and utilizing roles.
- Variables and Facts
- Defining and applying variables.
- Collecting and using system facts.
- Templates
- Working with Jinja2 templates.
- Dynamically generating configuration files.
- Hands-On Exercise
6. Conclusion and Next Steps
- Recap of the Day
- Summary of key automation concepts covered with Ansible.
- Further Learning Resources
- Recommendations for books, tutorials, and official documentation.
- Q&A
Requirements
Foundational knowledge of Linux/Unix commands.
Familiarity with SSH protocols and basic networking principles.
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 1600 € + VAT*
Contact us for an exact quote and to hear our latest promotions
Testimonials (5)
Good hands on lab and training guide
Raymond - GOVERNMENT TECHNOLOGY AGENCY
Course - Introduction to Ansible Automation
trainers knowledge
Peter - Fast Lane Consulting and Education Services Limited
Course - Introduction to Ansible Automation
It was really accurate for my understanding. As I was new in Ansible, there was good theoretical background explained with a lot of practical examples to understand Ansible basics. I am happy I attended such training!
Rostislav Mikl - Global Knowledge Network Training Limited
Course - Introduction to Ansible Automation
The teacher is very patient, and he did not seem to be too annoyed by my multitude of questions.
Martine Schroor - Global Knowledge Network Training Limited
Course - Introduction to Ansible Automation
- the approach of the trainer and how he was explaining