Ansible
Overview
This training course on introducing Ansible is targeted for the upcoming Devops professionals, experienced system admins and fanatics alike who are already using Ansible, or those candidates who intend to use it to automate system integration, configuration management, and manage scalable set-ups with comfort.
This Hands-on practical training will make the participants aware of what is Ansible? and what are its core concepts? and help them to get started with writing infrastructure as code.
3 Days
Pre-Requisites
- Basic understanding of Linux system concepts
- Basic understanding and Familiarity with Command Line Interface
- Basic understanding and Familiarity with a Text Editor
Course Outline
- What is Dev-ops
- What is Ansible
- Comparison with other automation tools
- Vagrant overview /quick demo
- Additional Setup Tasks
- What is Hosts Inventory?
- Hosts and Groups
- Host/Group Variables
- Dynamic Inventory
- Grouping Hosts with Patterns
- Ansible Host Patterns & Roles
- Building Patterns
- Running one-time tasks/commands
- Running commands in parallel
- File Transfer
- Managing Packages
- Managing Users
- Deploying from Source Control
- Managing Services
- Introduction to Ansible Playbooks
- Plays
- Tasks
- Actions
- Modules
- Playbook Roles and Include Statements
- Directory Layout for Modules
- Notifications and Handlers
- Writing a simple module to install a web server
- Variables and Facts
- Variable Precedence
- Registered Variables
- Metadata
- Static Contents Explosion
- Using Dynamic Content with Templates
- Templates Overview
- Jinja
- What are Ansible Modules
- Types of Modules
- Writing Modules
- Accelerated Mode
- Asynchronous Actions and Polling
- Dry Run
- Setting the Environment
- Error Handling
- Lookups
- Prompts
- Tags
- Ansible Vault: Encrypting Data
- Ansible Cloud Integrations
- Troubleshooting
- Best Practices
- Continuous Delivery and Rolling Updates
