Duration
4 days
This course will give you an in-depth introduction to Ansible and configuration management. It is best suited for system administrators, DevOps engineers, software engineers, and developers wanting to extend their current knowledge of computer systems and incorporate Ansible as a configuration management tool within them. Prior knowledge of Ansible is not necessary.
Target Audience
DevOps Engineers
Linux/Unix Systems Administrators Automation Engineers
Infrastructure (Network, Application, Platform, Database, OS) Administrators Software Engineers and Developers
Prerequisites for this course
Basic technical user skills with computer applications on some operating systems are expected.
Course Objectives
After completing this course, you should be able to:
- Install Ansible on control nodes
- Create Ansible inventories
- Understand Ansible Playbooks
- Write useful playbooks to aid system administration
Course Outline:
Ansible: What Is It Good For? How Ansible Works
What’s So Great About Ansible?
Installing Ansible
Setting Up a Server for Testing Understanding the Fundamentals of Ansible
Technical requirements
Getting familiar with the Ansible framework Breaking down the Ansible components Learning the YAML syntax
Configuration Management with Ansible Organizing your automation code Exploring the configuration file Command-line arguments
Understanding ad hoc commands
Creating an inventory file and adding hosts Using host groups
Adding host and group variables to your inventory Generating a dynamic inventory file 
Using multiple inventory sources in the inventory directories
Using static groups with dynamic groups
Special host management using patterns Defining variables
Understanding Jinja2 filters Ansible Playbooks
A Sample Playbook
Specifying an Nginx Config File Creating a Custom Home Page Creating a Webservers Group Running the Playbook
Anatomy of a Playbook
Plays Tasks Modules
Putting It All Together
Extending Playbooks with Roles and Templates Understanding roles
Setting up role-based variables and dependencies Ansible Galaxy
Using conditions in your code Repeating tasks with loops Grouping tasks using blocks
Configuring play execution via strategies Using ansible-pull
Programme scope, delivery arrangements and suitability are confirmed during enquiry.