Kurskode: HPE_H8Q13S

varighet: 3 Dag(er)

Sted: Virtual, Instructor Led Training
Katergori: Hewlett Packard Enterprise (HPE)

Course Overview

This course covers core Ansible topics including installing and configuring, running ad hoc commands, understanding modules, creating and using playbooks, variables and inclusion, task control, templates, and roles. The course also covers dealing with sensitive data via Ansible Vault, integration with Docker and Vagrant, networking, and troubleshooting. 

Ansible Overview

• Why Ansible?

• Overview of architecture

• Quiz: Architecture

• Inventory

• Inventory patterns

• Inventory plugins

• Quiz: Inventory and patterns

• Demo: Introducing Ansible

Deploying Ansible

• Installing

• Demo: Installing Ansible

• Configuration files

• Demo: Configuration files

• Module syntax help

• Running ad hoc commands

• Demo: Running ad hoc commands

• Dynamic inventory

• Demo: Dynamic inventory

• Lab tasks

– Deploying Ansible

– Ad hoc commands

– Dynamic inventories

Playbooks Basics

• Writing YAML files

• Playbook structure

• Host and task execution order

• Command modules

• Significant module categories

• File manipulation

• Network modules

• Packaging modules

• System storage

• Account management

• Security

• Services

• Demo: Playbooks

• Lab tasks

– Playbook basics

– Playbooks—command modules

– Playbooks—common modules

Variables and Inclusions

• Variables

• Variables—playbooks

• Variables—inventory

• Variables—registered

• Variables—magic

• Facts

• Demo: Facts

• Inclusions

• Lab tasks

– Variables and facts

– Inclusions

Jinja2 Templates

• Jinja2

• The template module

• Expressions

• Quiz: Jinja2 templates

• Filters

• Methods

• Tests

• Lookups

• Control structures

• Demo: Jinja2 templates

• Lab tasks

– Jinja2 templates

Task Control • Loops

• Loops and variables

• Demo: Constructing flow control

• Conditionals

• Demo: Conditionals

• Handlers

• Tags

• Handling errors

• Lab tasks

– Task control

Roles • Roles

• Role usage details

• Creating roles

• Quiz: Role structure

• Deploying roles with Ansible Galaxy

• Demo: Deploying roles with Ansible Galaxy

• Lab tasks

– Converting playbooks to roles

– Creating roles from scratch

– Ansible Galaxy roles

Optimizing Ansible • Connection types

• Delegation

• Parallelism

• Callback plugins

• Lab tasks

– Optimizing Ansible

Ansible Vault • Configuring Ansible Vault

• Vault IDs

• Executing with Ansible Vault

• Demo: Configuring Ansible Vault

• Lab tasks

– Ansible Vault

Appendix A: Network automation • Network automation

• Simple network module examples

• Network modules: Gotchas

• Simple IOS modules Examples

• General purpose ios modules

Not available. Please contact.

Experience with Linux shell, text editing, and basic systems administration 

This course is for systems administrators desiring to automate provisioning, configuration management, service deployment, and operational processes.

Kontakt oss: Kurs@sgpartner.no

Relaterte kurs