Curso Ansible Introductory and Intermediate Configuration and Administration

  • DevOps | CI | CD | Kubernetes | Web3

Curso Ansible Introductory and Intermediate Configuration and Administration

32 horas
Visão Geral

Curso Ansible Introductory and Intermediate Configuration and Administration, Ansible é um poderoso mecanismo de código aberto para automatizar o gerenciamento de configuração, provisionamento de software e implantação de aplicativos. Este curso de treinamento introdutório e intermediário do Ansible ensina aos participantes os fundamentos do Ansible, incluindo como criar playbooks, aproveitar módulos e configurar funções. Os alunos então levam suas habilidades para o próximo nível com tópicos avançados, incluindo construção de manuais, utilização de módulos e gerenciamento de nós e muito mais. Além disso, este curso abrange o Ansible Tower.

Objetivo

Após realizar este Curso Ansible Introductory and Intermediate Configuration and Administration, você será capaz de:

  • Instalar e configurar nó de controle Ansible e nó(s) gerenciado(s)
  • Criar e executar manuais
  • Use módulos Ansible padrão
  • Criar módulos personalizados
  • Criar e modificar definições de hosts (inventário)
  • Criar e usar funções
  • Projete uma estratégia de 'melhores práticas' para usar os recursos do Ansible
  • Explore o Ansible Tower como uma solução para gerenciar graficamente o Ansible em toda a empresa
  • Execute a configuração avançada para um nó de controle Ansible e nós gerenciados
  • Use condicionais, loops, filtros e loopbacks em playbooks
  • Controle a saída ad-hoc e playbook com plug-ins de retorno de chamada
  • Crie e implemente definições de inventário dinâmico
  • Implemente recursos e dependências de funções reutilizáveis
  • Controle as operações do Ansible Core com parâmetros de tempo de execução
  • Crie modelos para escrever um módulo personalizado do Ansible
  • Adicionar documentação a um módulo personalizado do Ansible
  • Criar e usar variáveis ​​de fato locais
  • Implemente variáveis ​​de fato locais em nós gerenciados
  • Escrever playbooks para coletar dados de nós gerenciados
Pre-Requisitos
  • Supõe-se que os participantes sejam administradores de sistemas, desenvolvedores e/ou testadores com algum conhecimento básico de script (bash, ksh, Perl ou Python) e tenham uma compreensão dos utilitários/comandos fundamentais do sistema nos sistemas Linux e Windows.
Materiais
Inglês + Exercícios + Lab Pratico
Conteúdo Programatico

Introduction

  1. Software development (cycle) considerations
  2. Strengths and weaknesses of Ansible
  3. Ansible terminology
  4. Ansible required environment setup

Initial Setup and Configuration

  1. Ansible Core installation methods: rpm, pip, and Tower
  2. Ansible component locations
  3. Ansible documentation
  4. Ansible configuration file
  5. Inventory (hosts) file (Linux and Windows nodes)
  6. Gathering system facts (methods)
  7. Using system facts

Ansible Playbooks

  1. Layout of playbook sections (directives, variable definitions, tasks, handlers, module modifiers)
  2. Variable creation and usage
  3. Using modules in playbooks
  4. Controls: loops, conditionals, tags, notifications, plugins, filters, and lookups
  5. Running as root

Ansible Modules

  1. The layout of an Ansible module
  2. Linux modules:  file, yum, systemd, cron, user, shell, filesystem
  3. Using the Windows-specific (win_) modules
  4. Common Linux and Windows modules

Roles in Ansible

  1. Overview of a role
  2. Creating a role (structure)
  3. Using (a) role(s)
  4. Packaging up a role
  5. Ansible Galaxy - capabilities and usage with roles
  6. Git repo (role) repository (creation)
  7. Local access of a Git repo role repository
  8. Remote access of a Git repo role repository

Managed Nodes

  1. Requirements for a Linux managed node
  2. Inventory and access control information on the control node
  3. Setup of a Linux managed node
  4. Requirements for a Windows managed node
  5. Setup of a Windows managed node
  6. Inventory and access control information on the control node

Ansible Tower

  1. Comparison of Ansible Tower and Ansible AWX
  2. General layout of the Ansible Tower
  3. Installation of Ansible Tower (and Ansible AWX)
  4. Using the Ansible Tower / AWX (dashboard)
  5. Define Ansible Tower / AWX user accounts
  6. Create inventories of systems (with credentials)
  7. Create projects and job templates
  8. Job scheduling (launch forms), status, and tracking
  9. Watching and chaining (multi-) playbooks (workflows)
  10. Controlling and viewing logs and audit trails
  11. Notifications

Control Code and Managed Node Required Configuration

  1. Ansible components review
  2. Running Ansible in escalated privilege mode
  3. SSH key setup
  4. Ansible common account creation, setup, and features
  5. Required components for a Linux/Unix/Windows managed node

Advanced Control Node Setup and Configuration

  1. Ansible Core installation methods: rpm, pip, and Tower (changes)
  2. Ansible command and module documentation
  3. Inventory hosts file contents (Linux/Unix, Windows, and network device nodes)
  4. Dynamic inventory hosts file contents and usage
  5. Ansible configuration file (locations and parameter definitions)
  6. Special use configuration parameter definitions
  7. Methods to control gathering of system facts
  8. Creating and using local system facts
  9. Understanding the hostvars dictionary usage
  10. Variable creation and usage

Ansible Playbooks

  1. Layout of a playbook: directives, tasks and arguments, module modifiers
  2. Installing and using ansible-lint
  3. Playbook: loops, conditionals, tags, notifications, plugins, filters, and lookups
  4. Controls: output formatting and inclusion with callbacks
  5. Advanced Jinja 2 template usage
  6. Using “inner” and “outer” playbooks

Ansible Modules/Tasks

  1. Including external tasks in a playbook
  2. Controls over node and task scheduling
  3. Configuration parameters that control rolling updates
  4. Using Ansible playbook debugging capabilities
  5. Writing a customized module and embedded documentation

Roles in Ansible

  1. review of role creation / structure, packaging, and usage
  2. importing role definitions (on a control node)
  3. role dependencies definitions and usager

Collections in Ansible

  1. Collection creation and structure (components)
  2. Using a role inside a collection
  3. Using a module inside of a collection
  4. Using a playbook inside of a collection

Conclusion

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