Ansible Advanced
Overview:
This 5 days course will give a strong knowledge on Ansible and deploy Ansible infrastructure and manage.
Prerequisite:
Linux basic skills (like working file and directories)
Who should attend:
Targeted for Developers.
Agenda:
Introduction:
- Course Introduction
- Introduction to Ansible
- Ansible vs. Other Tools
- Introduction to YAML
- YAML Examples
- Ansible Documentation: Modules
- Test Environment Setup
- Download and Installation
- Ansible Configuration File
- Ansible Python Dependencies
- The HOSTS File
- Overriding the Default HOSTS File
- Overriding the Default System Ansible.Cfg File
- Overriding the Default Roles Path
- Exercise: Configure Test Environment for Secure Access
- Exercise: Configuring the Ansible Host Environment
- Exercise: Ansible Facts
- Configuring Your ‘Ansible’ Account
- Ansible Command Line
- System Facts
- System Facts: Common Values for Playbooks
- Our First Playbook
- Variables: Inclusion Types
- Target Section
- Variable Section
- Task Section
- Handler Section
- Outlining Your Playbook
- Create a Playbook from Our Outline
- Optimizing Your Playbook
- Taking Our Playbook for a Dry Run
- Asychronous Polling
- Simple Variable Substitution
- Lookups
- RunOnce
- Local Actions
- Loops
- Conditionals
- Until
- Notify
- Vault
- Prompt – Interactive Playbook
- Basic Include Statements
- Tags
- Basic Error Handling
- Includes – Breaking Your Playbook Into Discrete Plays
- Starting At Task or Stepping Through All Tasks
- Passing Variables Into Playbooks at the Command Line
- Using Jinja2 Templates
- LocalAction
- DelegateTo
- Running Ansible Commands Against Hosts
- Querying a Remote System
- Create a Simple Playbook
- Building a Larger Playbook – Target Section
- Building a Larger Playbook – Variable Section
- Building a Larger Playbook – Task Section
- Playbooks – Loops
- Playbooks – Notify
- Playbooks – Conditionals
- Playbooks – Lookup
- Playbooks – Local Action
- Playbooks – Run Once
- Playbooks – Prompt
- Playbooks – Includes
- Playbooks – Tags
- Playbooks – Until
- Playbooks – Ignore Errors
- Playbooks – Discrete Plays
- Playbooks – Create an Outline
- Playbooks – Create Playbook from Outline
- Playbooks – Optimize Your Outline Playbook
- Take Your Playbook for a DryRun
- Jinja2 Template Creation
- Playbooks – Using Templates
- Playbooks – Start At
- Playbooks – Step Into
- Playbooks – Variables from Command Line
- Playbooks – DelegateTo
- The ‘Setup’ Module
- The ‘File’ Module
- The ‘Pause’ Module
- The ‘WaitFor’ Module
- The ‘Yum’ Module
- The ‘Apt’ Module
- The ‘Service’ Module
- The ‘Copy’ Module
- The ‘Command’ Module
- The ‘Cron’ Module
- The ‘Debug’ Module
- The ‘Fetch’ Module
- The ‘User’ Module
- The ‘AT’ Module
- The ‘DNF’ Module
- The ‘Apache2_Module’ Module
- The ‘SetFact’ Module
- The ‘Stat’ Module
- The ‘Script’ Module
- The ‘Shell’ Module
- The ‘SELinux’ Module
- The ‘SEBoolean’ Module
- The ‘Raw’ Module
- The ‘Ping’ Module
- The ‘Package’ Module
- The ‘Unarchive’ Module
- The ‘HTPasswd’ Module
- The ‘GetURL’ Module
- The ‘Group’ Module
- The ‘Mail’ Module
- The ‘Filesystem’ Module
- The ‘Mount’ Module
- The ‘Notify’ Module
- The ‘AptRepo’ Module
- The ‘ AptKey’ Module
- The ‘ ACL’ Module
- The ‘Git’ Module
- The ‘Template’ Module
- The ‘MySQL_DB’ Module
- The ‘MySQL_User’ Module
- The ‘Kernel_Blacklist’ Module
- The Pause Module
- The WaitFor Module
- The Setup Module
- The ‘Yum’ Module
- The ‘Apt’ Module
- The ‘Service’ Module
- The ‘Copy’ Module
- The ‘Command’ Module
- The ‘Cron’ Module
- The ‘Debug’ Module
- The ‘User’ Module
- The ‘Fetch’ Module
- The ‘SetFact’ Module
- The ‘Stat’ Module
- The ‘Script’ Module
- The ‘Debug’ Module
- The ‘Fetch’ Module
- The ‘User’ Module
- The ‘AT’ Module
- The ‘DNF’ Module
- The ‘Shell’ Module
- The ‘SELinux’ Module
- The ‘SEBoolean’ Module
- The ‘Raw’ Module
- The ‘Ping’ Module
- The ‘HTPasswd’ Module
- The ‘GetURL’ Module
- The ‘Group’ Module
- The ‘Filesystem’ Module
- The ‘Mount’ Module
- The ‘Mail’ Module
- The ‘Unarchive’ Module
- The ‘Notify’ Module
- The ‘Apt Repo’ Module
- The ‘AptKey’ Module
- The ‘ACL’ Module
- The ‘MySQL_DB’ Module
- The ‘MySQL_User’ Module
- Roles – The Directory Structure
- Role Based Tasks
- Task Order – Pre and Post Tasks
- Roles – Conditional Execution
- Roles – Variable Substitution
- Roles – Handlers
- Roles – Using Notification
- Roles – Configuring Alternate Roles Paths
- Roles – Conditional Include Statements
- Roles – Waiting For Events
- Roles – Executing a Task Until
- Roles – Using Tags
- Roles – Breaking a Playbook Into a Role
- Roles – Passing Variables from Command Line
- Roles – DelegateTo
- Roles – LocalAction
- Exercise: Roles – Create Directory Structure
- Exercise: Roles – Tasks Within a Role
- Exercise: Roles – Pre and Post Tasks
- Exercise: Roles – Variable Substitution
- Exercise: Roles – Conditional Roles
- Exercise: Roles – Using Templates
- Ansible Command Line – Installing Packages
- Ansible Command Line – Services and Hosts
- Ansible Command Line – Commands and Shells
- Ansible Command Line – Managing Users
- Ansible Command Line – Create and Manage Cron Jobs
- Ansible Command Line – Running Arbitrary Commands
- Ansible Command Line – Output Tree
- Exercise: Ansible Command Line – Run Arbitrary Module Commands
- Exercise: Ansible Command Line – Installing Packages
- Exercise: Ansible Command Line – Managing Services
- Exercise: Ansible Command Line – Managing Users
- Exercise: Ansible Command Line – Managing CRON Jobs
- Exercise: Ansible Command Line – Run Arbitrary System Commands
- Creating a Web Server Deployment – Outline
- Creating a Web Server Deployment – Playbook First Pass
- Creating a Web Server Deployment – Playbook Optimization
- Creating a Web Server Deployment – Breaking Into Role(s)
- Creating an NFS Server Deployment – Outline
- Creating an NFS Server Deployment – Playbook First Pass
- Creating an NFS Server Deployment – Playbook Optimization
- Creating an NFS Server Deployment – Breaking Into Role(s)
- Creating a Database Server Deployment – Outline
- Creating a Database Server Deployment – Playbook First Pass
- Creating a Database Server Deployment – Playbook Optimization
- Creating a Database Server Deployment – Breaking Into Role(s)
- Exercise: Use Case – Create a Web Server Outline
- Exercise: Use Case – Create a DB Server Outline
- Exercise: Use Case – Create an NFS Server Outline
- Galaxy Introduction and Usage
- Ansible 2.0 – Installation
- Ansible 2.0 – Playbooks: User Privilege Escalation Changes
- Ansible 2.0 – Modules: The ‘Find’ Module
- Ansible 2.0 – Modules: The ‘Package’ Module
- Ansible 2.0 – Roles: User Privilege Escalation Changes
- Ansible 2.0 – Roles: The ‘Find’ Module
- Ansible 2.0 – Roles: The ‘Package’ Module
- Exercise: The ‘Find’ Module
- Exercise: The ‘Package’ Module
Setup and Configuration
Ansible Playbooks – Part 1
Ansible Playbooks – Part 2
Ansible Playbooks – Exercises
Ansible Modules – Part 1
Ansible Modules – Part 2
Ansible Modules – Exercises
Roles
Ansible Command Line Usage
Use Cases
Advanced Topics and Ansible 2.0 Updates
Ansible Advanced Training Schedules:
Sl No. | Training Dates | Location | Registration |
---|---|---|---|
1 | 09th to 12th October 2019 | Bangalore | Click here to register |
2 | 16th to 19th October 2019 | Chennai | Click here to register |
3 | 23rd to 26th October 2019 | Hyderabad | Click here to register |
4 | 10th to 13th October 2019 | New Delhi | Click here to register |
5 | 17th to 20th October 2019 | Mumbai | Click here to register |
6 | 24th to 27th October 2019 | Pune | Click here to register |
7 | 17th to 20th October 2019 | Sri Lanka | Click here to register |
8 | 10th to 13th October 2019 | Bangladesh | Click here to register |
Sl. No. | Training Dates | Location | Registration |
---|---|---|---|
1 | 07th to 10th November 2019 | Bangalore | Click here to register |
2 | 14th to 17th November 2019 | Chennai | Click here to register |
3 | 21st to 24th November 2019 | Hyderabad | Click here to register |
4 | 27th to 30th November 2019 | New Delhi | Click here to register |
5 | 07th to 10th November 2019 | Mumbai | Click here to register |
6 | 14th to 17th November 2019 | Pune | Click here to register |
7 | 21st to 24th November 2019 | Sri Lanka | Click here to register |
8 | 27th to 30th November 2019 | Bangladesh | Click here to register |
Sl No. | Training Dates | Location | Registration |
---|---|---|---|
1 | 04th to 07th December 2019 | Bangalore | Click here to register |
2 | 11th to 14th December 2019 | Chennai | Click here to register |
3 | 18th to 21st December 2019 | Hyderabad | Click here to register |
4 | 25th to 28th December 2019 | New Delhi | Click here to register |
5 | 12th to 15th December 2019 | Mumbai | Click here to register |
6 | 19th to 22nd December 2019 | Pune | Click here to register |
7 | 26th to 29th December 2019 | Sri Lanka | Click here to register |
8 | 24th to 27th December 2019 | Bangladesh | Click here to register |