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.
Experience with Linux shell, text editing, and basic systems administration
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
Join our public courses in our Istanbul, London and Ankara facilities. Private class trainings will be organized at the location of your preference, according to your schedule.