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
- The layout of an Ansible module
- Linux modules : file, yum, systemd, cron, user, shell, filesystem
- Using the Windows specific (win_) modules common Linux
Roles in Ansible
- Overview of a role
- Creating a role (structure)
- Using (a) role(s)
- Packaging up a role
- Ansible Galaxy - capabilities and usage with roles
- Git repo (role) repository (creation)
- Local access of a Git repo role repository
- Remote access of a Git repo role repository
Managed Nodes
- Requirements for a Linux managed node
- Inventory and access control information on the control node
- Setup of a Linux managed node
- Requirements for a Windows managed node
- Setup of a Windows managed node
- Inventory and access control information on the control node
Ansible Tower
- Comparison of Ansible Tower and Ansible AWX
- General layout of the Ansible Tower
Network Device Managed Nodes
- Requirements for a network device managed node
- Inventory and access control information on the control node
- Required setup of a network device managed node
- Module usage for a network device managed node
Ansible Tower: Installation and Basic Operations
- Features of the Ansible Tower
- Preparation for and installation of the Ansible Tower
- Components files and services of the Ansible Tower
- Starting and stopping the Ansible Tower
- Logging into the Ansible Tower
- Dashboard and menu bar selections
- Building organizations and teams with user accounts
- Creating Tower core credentials
- Creating inventory and host definitions
- Create inventories with awx-manage
- Ansible Tower smart inventory
- Running ad-hoc plays in the Ansible Tower
- Defining manual and Git (SCM) projects
- Creating job templates for an existing project
- Watching and chaining multi-playbooks workflows
- Launching job templates
- Using logs to review job template executions
- Scheduling jobs in the Ansible Tower
- Requesting notifications for job template executions
- Using roles in the Ansible Tower
External Access of the Ansible Tower
- Interfacing with the Ansible Tower API
- Installing and using the tower-cli/awx utility
- Ansible Core tower modules to the Ansible Tower
- Backing up the Ansible Tower database
- Restoring the Ansible Tower database
- Updating the Ansible Tower
- Introduction to Ansible Tower clusters
- Ansible Tower virtual environment setup and usage
Ansible Tower Administrative Operations
- Backing up the Ansible Tower database
- Restoring the Ansible Tower database
- Updating the Ansible Tower
- Introduction to Ansible Tower clusters
- Ansible Tower virtual environment setup and usage
- Overview of a simple CI/CD pipeline including the Ansible Tower
- Pipeline basic premises and components
Conclusion and Best Practices
- Setting up control and managed nodes
- Playbook techniques and efficiency
- Using roles in production environments
- Implementing the Ansible Tower
TENHO INTERESSE