Purpose
Learn how to use Ansible to automate remote system administration
Objectives
- Use Ansible to execute ad hoc tasks on remote servers
- Use Ansible playbooks to configure infrastructure in repeatable ways
- Create and use Ansible roles for code reuse
Audience
System administrators who want to learn and apply DevOps principles to system administration using Ansible
Prerequisites
Students should be comfortable with basic UNIX command-line interfaces, shell scripting, ssh, and networking.
Course Outline
- Introduction to Ansible and Devops
- What is Devops
- What is Ansible
- Comparison with other automation tools
- Setting up Learning Environment
- Vagrant overview / quick demo
- Inventorying your Infrastructure
- Hosts and Groups
- Host/Group Variables
- Dynamic Inventory
- Ad Hoc Server Management
- Running one time tasks/commands
- Running commands in parallel
- Useful Ansible modules
- File Transfer
- Managing Packages
- Managing Users
- Deploying from Source Control
- Managing Services
- Ansible Playbooks
- Plays
- Tasks
- Actions
- Modules
- Roles for Modularizing Code
- Playbook Roles and Include Statements
- Directory Layout for Modules
- Notifications and Handlers
- Using Dynamic Content with Templates
- Templates Overview
- Jinja
Please contact us for information on pricing and availability