Curso YAML Ansible

  • DevOps | CI | CD | Kubernetes | Web3

Curso YAML Ansible

32 horas
Visão Geral

Este Curso YAML Ansible é adaptado para desenvolvedores, administradores de sistema e profissionais de DevOps que desejam dominar a sintaxe YAML e obter proficiência no uso do Ansible para automação. YAML (YAML Ain't Markup Language) é um padrão de serialização de dados legível usado para arquivos de configuração e em muitos aplicativos onde os dados estão sendo armazenados ou transmitidos. Ansible é uma ferramenta de automação de código aberto que utiliza YAML para definir fluxos de trabalho complexos e automatizar a configuração e o gerenciamento de computadores. Combinar YAML com Ansible fornece um meio poderoso de automatizar sua infraestrutura e implantações de software.

Objetivo

Após realizar este Curso YAML Ansible você será capaz de:

  • Understand how to install and configure Ansible
  • Understand how to run ad-hoc commands and playbooks
  • Automate tasks using Ansible
  • Create effective Ansible Playbooks
  • Write simple plays and tasks
  • Organize code into a modular and reusable structure
  • Separate code from data using Jinja2 templates and variables
  • Run scripts and custom commands using Ansible command modules
  • Use Ansible Tower to manage enterprise deployment easily
Publico Alvo
  • Engenheiro DevOps
  • Desenvolvedor de software
Pre-Requisitos
  •  
Materiais
Inglês + Exercícios + Lab Pratico
Conteúdo Programatico

Introduction to Ansible

  1. What is Ansible and Features
  2. History and Releases
  3. Agent versus Agentless
  4. Ansible Architecture
  5. Infrastructure as Code
  6. Idempotency
  7. Use cases

Configuring Ansible

  1. Building an Ansible Inventory
  2. Ansible Configuration Files
  3. Running Ad Hoc Commands
  4. Managing Static & Dynamic Inventories
  5. Working with Ansible Modules
  6. Ansible Plugins
  7. Lab: Working with ansible default behavior
  8. Lab: Customizing Ansible Configuration
  9. Lab: Building Custom Ansible Inventory

Ansible Playbooks Anatomy

  1. Ansible Ad-hoc Commands
  2. Hosts
  3. Tasks
  4. Plays
  5. Ansible Playbooks Introduction
  6. Playbook Execution
  7. Lab: Running Ad Hoc Commands
  8. Lab: Working with Tasks
  9. Lab: Implementing Multiple Tasks in a Play
  10. Lab: Implementing Playbooks
  11. Lab: Automated LAMP Setup Using Ansible

Managing Variables and Facts

  1. Managing Variables  
  2. Managing Secrets  
  3. Managing Facts  
  4. Lab: Managing Variables  
  5. Lab: Managing Secrets  
  6. Lab: Managing Facts  
  7. Lab: Managing Variables and Facts  

Ansible Task control execution

  1. Loops and Conditionals
  2. Handlers
  3. Limiting Execution by Hosts (limit)
  4. Limiting Execution by Tasks (tag)
  5. Adding and Meeting Conditionals
  6. Handling Errors
  7. Lab: Writing Loops and Conditional Tasks  
  8. Lab: Implementing Handlers  
  9. Lab: Handling Task Failure  
  10. Lab: Implementing Task Control  

Deploying Files to Managed Hosts

  1. Modifying and Copying Files to Hosts  
  2. Deploying Custom Files with Jinja Templates  
  3. Lab: Modifying and Copying Files to Hosts  
  4. Lab: Deploying Custom Files with Jinja Templates  
  5. Lab: Deploying Files to Managed Hosts  

Managing Complex Plays and Playbooks

  1. Selecting Hosts with Host Patterns  
  2. Including and Importing Files  
  3. Lab: Selecting Hosts with Host Patterns  
  4. Lab: Including and Importing Files  
  5. Lab: Managing Complex Plays and Playbooks  

Simplifying Playbooks with Roles

  1. Describing Role Structure  
  2. Reusing Content with System Roles  
  3. Creating Roles  
  4. Deploying Roles with Ansible Galaxy  
  5. Getting Roles and Modules from Content Collections  
  6. Lab: Reusing Content with System Roles  
  7. Lab: Creating Roles  
  8. Lab: Deploying Roles with Ansible Galaxy  
  9. Lab: Getting Roles and Modules from Content Collections  
  10. Lab: Simplifying Playbooks with Roles  

Optimizing Ansible

  1. Selecting Hosts with Host Pattern
  2. Configuring Delegation
  3. Configuring Parallelism
  4. Lab: Controlling playbook execution
  5. Lab: Selecting Hosts with Host Patterns  
  6. Lab: Including and Importing Files  
  7. Lab: Managing Complex Plays and Playbooks  

SSH Key and Credentials Management

  1. SSH Keys
  2. Configure Ansible Vault
  3. Securing Passwords Using Vault
  4. Executing with Ansible Vault
  5. Lab: Managing Secrets Using Ansible Vaults

Automating Linux Administration Tasks

  1. Managing Software and Subscriptions  
  2. Managing Users and Authentication  
  3. Managing the Boot Process and Scheduled Processes  
  4. Managing Storage  
  5. Managing Network Configuration  
  6. Lab: Managing Software and Subscriptions  
  7. Lab: Managing Users and Authentication  
  8. Lab: Managing the Boot Process and Scheduled Processes  
  9. Lab: Managing Storage  
  10. Lab: Managing Network Configuration  
  11. Lab: Automating Linux Administration Tasks  

Ansible Tower

  1. Introduction to Ansible Tower
  2. System Requirements
  3. How AWX Works
  4. AWX Vocabulary
  5. Setting up Environment
  6. Installing Ansible Tower
  7. Navigating the Ansible Tower Web Interface
  8. Lab: Installing Ansible Tower

Understand and use Git

  1. Clone a Git repository
  2. Update, modify and create files in a Git repository
  3. Add those modified files back into the Git repository
  4. Lab: Working with Git
  5. Lab: CI/CD with Ansible Tower and GitHub

Manage access for Ansible Tower

  1. Create Ansible Tower users and teams and make associations of one to the other
  2. Lab: Managing Users and Teams

Manage inventories and credentials

  1. Manage advanced inventories
  2. Create a dynamic inventory from an identity management server or a database server
  3. Create machine credentials to access inventory hosts
  4. Create a source control credential
  5. Lab: Managing Credentials

Manage projects

  1. Create a job template
  2. Lab: Managing Projects

Manage job workflows

  1. Create a job workflow template
  2. Lab: Managing Job Workflow

Work with the Ansible Tower API

  1. Write an API scriptlet to launch a job
  2. Lab: Work with the Ansible Tower API

Coordinate rolling updates

  1. Minimize downtime and ensure maintainability and simplicity of Ansible Playbooks by using the advanced features of Ansible to manage rolling updates

Create a simple CI/CD pipeline with Ansible Tower

  1. Build and operate a proof-of-concept CI/CD pipeline based on Ansible Automation and integrating Red Hat Ansible Tower

Troubleshooting, Testing, and Validation

  1. Troubleshooting Playbooks
  2. Troubleshooting Ansible Managed Hosts
  3. Ordering Problems
  4. Jumping to Specific Tasks
  5. Retrying Failed Hosts
  6. Syntax-Check and Dry-Run
  7. Debugging
  8. Lab: Troubleshooting Playbooks  
  9. Lab: Troubleshooting Ansible Managed Hosts  
  10. Lab: Troubleshooting Ansible 
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h

Curso Red Hat DevOps Pipelines and Processes: CI/CD with Jenkins

24h

Curso Cloud Security and DevSecOps Automation

32 horas