ANS
Ansible
Description
Ansible is an open source task automation system. It can be used to efficiently automate various installation and configuration tasks, manage network devices or virtualization systems.
What will the participants of the course learn and master during the 3 days?
- The basic principles and architecture of Ansible
- How to install and configure Ansible
- Running ad-hoc commands
- How to create and run Ansible playbooks
- Using Jinja2 templates
- Installing and using Roles and Collections
- Using AWX UI
- Managing different operating systems and virtualization systems through hands-on exercises
Suggested For
Recommended for system administrators who want to manage their IT infrastructure using Ansible.
Outline
Introduction
- Build
- Basic concepts
- Ad-hoc commands and Playbooks
- Ansible UI: Tower and AWX
Ansible Environment
- Controller and managed host
- Ansible user
- Configuration files
- Inventory
Ad-hoc commands
- Using ad-hoc commands
- Modules and their parameterization
- Built-in and online documentation
Playbooks
- Structure of playbooks
- YAML basics
- Creating and running playbooks
Variables
- Types of variables
- Facts
- Arrays, dictionaries
- Vaults
- Register
Controlling tasks
- Loops
- Using variables in loops
- Use of conditions (when)
- Handlers
- Blocks
- Error handling
Files and templates
- Modules for handling files
- Modifying configuration files
- Jinja2 templates
Ansible Role, Collection
- Installing and using roles
- Structure of roles
- Ansible Galaxy
- Installing a Collection
Using Ansible
- Using Ansible AWX UI
- Managing Windows Systems WinRM
- VMware virtualization system, managing virtual machines
- Container management
Prerequisites
Basic computer and information technology skills, basic networking skills. Solid Linux command line skills. Some source material may be in English, so a working knowledge of English at document reading level is required