Curso Ansible Configuration and Administration Bootcamp

  • DevOps | CI | CD | Kubernetes | Web3

Curso Ansible Configuration and Administration Bootcamp

32 horas Curso Pratico
Visão Geral

Este Curso Ansible Configuration and Administration Bootcamp, ensina à sua equipe tudo o que eles precisam saber para configurar e administrar o Ansible com sucesso. Neste Curso Ansible Configuration and Administration Bootcamp, por meio de treinamento avançado em Ansible, os participantes aprendem primeiro como criar playbooks, aproveitar módulos e configurar funções.

 Os alunos aprendem tópicos mais avançados, incluindo construção de manuais, utilização de módulos, gerenciamento de nós e muito mais. Por fim, este curso se aprofunda em todos os aspectos do Ansible Tower e aborda as práticas recomendadas do Ansible.

Objetivo

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

  • Instalar e configurar nós de controle e nós gerenciados do Ansible
  • Crie e execute manuais
  • Use módulos Ansible padrão
  • Crie 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 recursos 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 do manual com plug-ins de retorno de chamada
  • Crie e implemente definições de inventário dinâmico
  • Implementar 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 Ansible
  • Adicione documentação a um módulo personalizado do Ansible
  • Criar e usar variáveis ​​de fatos locais
  • Implementar variáveis ​​de fatos locais em nós gerenciados
  • Escreva manuais para coletar dados de nós gerenciados
  • Configurar e usar nós gerenciados por dispositivos de rede
  • Instale e faça a configuração inicial do Ansible Tower
  • Programe e use a criação e execução de jobs no Ansible Tower
  • Faça backup, restaure e atualize o banco de dados do Ansible Tower
  • Crie um ambiente virtual Python no Ansible Tower
  • Interface com o Ansible Tower usando os módulos tower-cli e Ansible Core
  • Desenvolva práticas recomendadas para todos os componentes do Ansible
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico

Introduction

  • Software development (cycle) considerations
  • Strengths and weaknesses of Ansible
  • Ansible terminology
  • Ansible required environment setup

Initial Setup and Configuration

  • Ansible Core installation methods: rpm, pip, and Tower
  • Ansible component locations
  • Ansible documentation
  • Ansible configuration file
  • Inventory (hosts) file (Linux and Windows nodes)
  • Gathering system facts (methods)

Control Code and Managed Node Required Configuration

  • Ansible components review
  • Running Ansible in escalated privilege mode
  • SSH key setup
  • Ansible common account creation, setup, and features
  • Required components for a Linux/Unix/Windows managed node

Advanced Control Node Setup and Configuration

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

Ansible Playbooks

  • Layout of a playbook: directives, tasks and arguments, module modifiers
  • Installing and using ansible-lint
  • Playbook: loops, conditionals, tags, notifications, plugins, filters, and lookups
  • Controls: output formatting and inclusion with callbacks
  • Advanced Jinja 2 template usage
  • Using “inner” and “outer” playbooks
  • Review of protecting sensitive information with the Ansible Vault

Ansible Modules/Tasks

  • Including external tasks in a playbook
  • Controls over node and task scheduling
  • Configuration parameters that control rolling updates
  • Using Ansible playbook debugging capabilities
  • Writing a customized module and embedded documentation

Roles in Ansible

  • Overview of a role
  • Creating a role structure
  • Using roles
  • Packaging up a role
  • Ansible Galaxy - capabilities and usage with roles
  • Git repo role repository creation on a non-control node
  • Local access of a Git repo role repository
  • Remote access of a Git repo role repository
  • Importing role definitions (on a control node)
  • Role dependencies definitions and usage 
  • Using system facts

Ansible Playbooks

  • Layout of playbook sections (directives, variable definitions, tasks, handlers, module modifiers)
  • Variable creation and usage
  • Using modules in playbooks
  • Controls: loops, conditionals, tags, notifications, plugins, filters, and lookups
  • 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 common Linux

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

Network Device Managed Nodes

  1. Requirements for a network device managed node
  2. Inventory and access control information on the control node
  3. Required setup of a network device managed node
  4. Module usage for a network device managed node

Ansible Tower: Installation and Basic Operations

  1. Features of the Ansible Tower
  2. Preparation for and installation of the Ansible Tower
  3. Components files and services of the Ansible Tower
  4. Starting and stopping the Ansible Tower
  5. Logging into the Ansible Tower
  6. Dashboard and menu bar selections
  7. Building organizations and teams with user accounts
  8. Creating Tower core credentials
  9. Creating inventory and host definitions
  10. Create inventories with awx-manage
  11. Ansible Tower smart inventory
  12. Running ad-hoc plays in the Ansible Tower
  13. Defining manual and Git (SCM) projects
  14. Creating job templates for an existing project
  15. Watching and chaining multi-playbooks workflows
  16. Launching job templates
  17. Using logs to review job template executions
  18. Scheduling jobs in the Ansible Tower
  19. Requesting notifications for job template executions
  20. Using roles in the Ansible Tower

External Access of the Ansible Tower 

  1. Interfacing with the Ansible Tower API
  2. Installing and using the tower-cli/awx utility
  3. Ansible Core tower modules to the Ansible Tower
  4. Backing up the Ansible Tower database
  5. Restoring the Ansible Tower database
  6. Updating the Ansible Tower
  7. Introduction to Ansible Tower clusters
  8. Ansible Tower virtual environment setup and usage

Ansible Tower Administrative Operations

  1. Backing up the Ansible Tower database
  2. Restoring the Ansible Tower database
  3. Updating the Ansible Tower
  4. Introduction to Ansible Tower clusters
  5. Ansible Tower virtual environment setup and usage
  6. Overview of a simple CI/CD pipeline including the Ansible Tower
  7. Pipeline basic premises and components

Conclusion and Best Practices

  1. Setting up control and managed nodes
  2. Playbook techniques and efficiency
  3. Using roles in production environments
  4. Implementing the Ansible Tower
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