• Live training

Workshop Ansible Advanced


The Advanced Ansible Course is intended for students who are interested in developing and improving their skills with Ansible.

First lecture consists of a short review of Ansible basic functionalities, like Modules, Playbooks and Inventories, just to make sure that our students will be up to date with the basic features.
The next lesson will present topics like “Error Handling and Execution Strategies”, “Lookups”, “Dynamic Inventories”, “Roles”, while the second day of training approaches some more advanced features like “Templating”, “Ansible Pull”, “Ansible Galaxy” and an expert topic called “Debugging and Optimizing Playbook Execution”.

All of these topics are also covered in the practice sections, with guided labs and additional explanations from the trainer.

 

Esta formação é ministrada em Inglês.

Em parceria com a entidade acreditada:

Cursos relacionados

Destinatários

  •  DevOps engineers
  • Linux system administrators
  • Release engineers
  • Infrastructure automation engineers
  • Systems design engineers

Pré-requisitos

Good grasp of Ansible basic (playbooks, tasks, modules, variables, inventories) – however, a short review will be made in the first lecture, just to refresh these features

Nice to have: 

  • Familiarity with the Linux CLI and command-line text editors like vi/vim/nano
  • Familiarity with YAML language
  • We recommend completing Ansible Fundamentals course

Programa

  • Modules and Playbooks – Review
  • Error Handling During Playbook Execution. Execution Strategies
  • Lookups
  • Dynamic Inventory. Inventory Plugins
  • Ansible Roles Deep Dive. Writing Your Own Roles
  • Templating Using Jinja2
  • Ansible Pull
  • Delegation
  • Ansible Galaxy

Modules and Playbooks – Review

  • Modules, task, playbooks
  • Host and users
  • Task list
  • Tracking Host state
  • Handlers
  • Executing a playbook

Hands-on Lab: Modules and Playbooks review

Error Handling During Playbook Execution. Execution Strategies

  • Error Handling in Playbooks
  • Ignoring failed commands
  • Handlers and Failure
  • Controlling what defines Failure
  • Aborting the play
  • Using blocks
  • The linear execution strategy
  • The free execution strategy
  • Defining strategy

Hands-on Lab: Error Handling and Execution strategies

Lookups

  • Lookup plugins
  • Enabling, using and listing Lookup Plugins
  • Lookup plugins in loops

Hands-on Lab: Using lookups to read information (file, password, CSV, INI, DNS, Redis) about hosts from an external source

Dynamic Inventory. Inventory Plugins

  • Ansible inventory
  • Static vs. Dynamic
  • Variables and Inventories
  • Inventory Scripts
  • Using multiple inventories
  • Enabling, using and listing Inventory Plugins

Hands-on Labs: Learn how to use dynamic inventory script to manage Docker containers with Ansible

Ansible Roles Deep Dive. Writing Your Own Roles

  • Roles directory structure
  • Using Roles
  • Role Duplication and Execution
  • Role Dependencies
  • Role search path
  • Creating a Role

Hands-on Labs: Understand Ansible role usage and also practice writing your own roles for managing the lab environment hosts

Templating Using Jinja2

  • What are templates?
  • Template module
  • Template file
  • Filters
  • Checking a template

Hands-on Lab: Learn how to use Jinja2 templates in Ansible to apply complex modifications in files

Ansible Pull

  • Detail ansible command
  • Ansible pull common options

Hands-on Labs: Ansible Pull

Delegation

  • Delegation characteristics
  • Delegated facts

Hands-on Labs: Delegation

Ansible Galaxy

  • Ansible Galaxy – Website
  • Ansible Galaxy – command line tool
  • Authenticate with Galaxy
  • Import and delete a role with Ansible Galaxy

Hands-on Labs: Working with Ansible Galaxy for role management

Workshop Ansible Advanced

Área

Dados

Como chegou até nós

Os seus dados pessoais são recolhidos em conformidade com o Regulamento Geral de Proteção de Dados (RGPD).

Consente que os seus dados sejam utilizados, nos termos da nossa Politica de Privacidade, para o contacto/envio de:

Ações de informação, de marketing de produtos e serviços, como campanhas e eventos?

Para mais informações, consulte a Política de Privacidade do Grupo Rumos.
pode retirar o seu consentimento a qualquer momento através do botão Cancelar subscrição ou Unsubscribe que estão presentes em cada comunicação enviada, bem como exercer os direitos descritos na politica de privacidade