Ansible Essentials with Hands-on Labs
Explore Ansible for DevOps & Automation. Start with the basics and go all the way to creating your own playbooks and roles!
What will you learn
Configuration management with Ansible
Installing and Configuring Ansible Automation Engine on a Control Node
Running custom automation tasks from the command line
Ansible to write scripts to automate system administration tasks on managed nodes
Working with Ansible in combination with Vagrant and Virtualbox in a DevOps environment
Parametrizing playbooks using variables and facts
Variable priority system and overriding
Use Jinja2 template to include dynamic expressions and variable access
Ansible to write scripts and roles for deploying a 3-tier web application
Configuring Ansible Roles with Tasks, Handlers, Files, Templates, Dependencies and Variables
Familiarity with Linux administration concepts
Ansible is an easy to understand, easy to adopt, easy to use IT configuration management and automation tool. With the Ansible Essentials course, you can start with the basics and go all the way to creating your own playbooks and role books using Ansible.
This is a focused course designed to quickly familiarize you with the use of the Ansible automation engine in real life. As an IT professional, you will have a solid understanding of Ansible and can apply it to your daily automation and configuration management.
The Ansible Essentials course includes many examples and hands-on labs and aims to provide students with a first-hand experience with course concepts. You can follow this course by creating your own lab environment. The vagrant environment is used throughout the course, and in the appendix you will find detailed lectures showing how to create one for yourself.
Each lecture introduces a new Ansible concept. The concepts are explained first, followed by relevant examples. Some of these are also demonstrated in a lab environment, showing you how they can be applied to playbooks. Finally, we apply this concept to our tube stack game books.
The course follows a progressive path that reflects a real approach to automation. It is divided into five sections, starting with an architectural overview and basic concepts. In section 2, we will install the Ansible automation engine and learn about inventory, which is the first thing we need to start automating tasks with Ansible. We’ll explore dedicated commands and also open some of the most commonly used Ansible modules in Section 3.
We then move on to the ansible textbooks. Playbooks allow us to take full advantage of Ansible’s configuration and orchestration management capabilities. Ansible playbooks are written in YAML, so before diving into the details of playbooks, we’ll take a look at YAML. Then we’ll explore the basics of a playbook, including playbook structure, idempotency, and tasks. We will learn how to start a playbook, check its syntax, and control its output with verbose.
Then we’ll start building our 3-tier web application. In each lesson, we will explore one or more ansible functions and apply them to our project. In this part of the course, you will learn about Jinja2 handlers, templates, loops, variables, error handling, and more. At the end of this section, you will prepare playbooks that can deploy a fully functional multi-node lamp stack to your machines.
In section 5, we’ll look at how to organize your playbooks more efficiently, where you learn about importing, embedding, and roles. We will rework playbooks into roles and make them easier to share and reuse.
This course is based on Red Hat® Ansible Engine 2.8 and CentOS Linux 7.7. By following this course, you will learn how to set up a 3-tier web application environment using Apache2, Python, and MySQL on CentOS machines.
Who is this course for:
Complete newcomers to Ansible and configuration management
IT pros who have experience with another configuration management tool and are now looking to acquire a new skill
IT pros who know basic ansible but now want to improve their skills with the advanced topics of this course
More Info: Click to preview
- Lectures 0
- Quizzes 0
- Duration Lifetime access
- Skill level All levels
- Language English
- Students 177
- Assessments Yes