Informações Gerais
Por que aprender Ansible?
DevOps é a nova moda na indústria de TI. As empresas que adotaram o DevOps estão usando o Ansible para entrar no mundo da automação, automatizando tarefas, implantações, orquestração e até mesmo processos inteiros de integração contínua do DevOps. É uma ferramenta simples de código aberto que está se tornando bastante popular por não ter agente. A maioria dos principais fornecedores oferece suporte para Ansible, pois ele funciona bem com grandes componentes de infraestrutura. Os playbooks do Ansible são extremamente fáceis de ler e usar, não exigem habilidades avançadas de codificação e simplificam operações tediosas e repetitivas em sua infraestrutura.
Conteúdo Programatico
Introduction to Configuration Management
Objective: In this module, you will get an overview of configuration management and the problems associated with traditional methods.This module also comprehends different components of Ansible and its architecture.
Topics:
- Scenario of an IT Company
- Configuration Management
- Infrastructure as Code (IaC)
- Ansible vs Others
- Introduction to Ansible
- Ansible Push approach
- Ansible Components
- Ansible Architecture
Hands On
- Installation of Ansible on Ubuntu EC2 instance
Server Provisioning using Ansible CLI and Playbooks
Objective: In this module, you will learn the Ansible Ad-Hoc commands, perform demos on Ansible Ad-Hoc commands and Ansible Playbooks. You will also learn about Handlers and Flow Control in Ansible Scripts and also execute selective tasks using Ansible tags. This module also comprehensively covers Ansible Vault to protect sensitive data.
Topics:
- Ansible CLI
- Ansible Ad-Hoc Commands
- Ansible Playbooks
- Organizing Tasks
- YAML Basics
- Playbooks Variables
- Runtime Variables
- Playbook Handlers
- Ansible Flow Control
- Ansible Tags
- Ansible Vault
Hands On:
- Ansible ad hoc commands
- Basic Ansible Playbook
Ansible Modules and Roles
Objective: In this module, you will work on the Ansible module and interpret Ansible inventory management. You will also learn about using modules in Playbook and Ansible Roles.This module also comprehensively covers use of roles in Playbooks and management of roles and lastly you will learn about Configuration of Jinja2 Templates.
Topics
- Overview of Modules
- Inventory Management
- Using Modules in Playbook
- Ansible Roles
- Using Roles in Playbooks
- Define, Execute and Manage Roles
- Manage Inclusions
- Configure Jinja2 Templates
- System Facts
Hands On:
- Configure Ansible and commands to review ansible modules
- Create validate and Execute Playbook
- Create Ansible Playbook with Ansible Roles
- Create Ansible Playbook with Jinja2 template
- Add/Remove host in Ansible Inventory
Ansible on Cloud
Objective: In this module, you will create an EC2 instance and perform the installation of Python 3 and PIP for configuring Ansible on AWS. You will also learn about passwordless authentication and configure SSH agent on Windows Server.This module also comprehends the advantages of Ansible with Docker and Installation of Docker in Ubuntu 18.04.
Topics:
- Launch EC2 Instance on AWS
- Install Ansible on AWS
- Preparing Ansible to Work with AWS
- Module Support for Docker Interaction
Hands On:
- Configuration of Ansible on EC2 windows.
- Configuration of Ansible on EC2 Amazon Linux EC2.
- Password less authentication on AWS with Ansible.
- Ansible playbook with Docker module.
Automating Continuous Integration
Objective: In this module, we will create an end to end pipeline between the Developer and Production web application using automation tools like Git, Jenkins, Ansible and Application Server such as Apache Tomcat.
Topics:
- EC2 Instance for Jenkins, Ansible and Tomcat
- Git
- GitHub
- Jenkins
- Maven plugin
- Ansible and Tomcat server integration
Hands On:
- Automating Continuous Integration
Infrastructure Automation using Terraform
Objective: In this module, you will get an overview of the architecture of Terraform, You will learn about Terraform Configuration Syntax, Basic Terraform commands.and manage Terraform resources.
Topics:
- Terraform Features
- Terraform vs Ansible
- Terraform Configuration
- Terraform Commands
- Managing Resources in Terraform
Hands On:
- Creating and destroying an EC2 instance using Terraform
- Setting up infrastructure