Scripting School Provides Ant Online Training , AngularJS Online Training, Backbone js Online Training , Node.Js Online Training , JavaScript Online Training, LUA Online Training, Groovy Scripts Online Training , Groovy on Grails Online Training , HTML5 Online Training , Maven Online Training , Perl Script Online Training , PowerShell Online Training , Python Online Training , PHP Online Training , Ruby Script Online Training , Ruby on Rails Online Training , R Scripts Online Training , TCL Script Online Training , Unix Shell Script Online Training , VBScript Online Training ,Hadoop Online Training, Advanced Java Online Training, Core Java Online Training, Hibernate Online Training, J2EE Online Training, Spring Online Training, .NET Online Training, Microsoft BI Online Training, Microsoft SSAS Online Training, Microsoft SSIS Online Training, Microsoft SSRS Online Training, SharePoint BI Online Training, SharePoint Online Training, Windows Server 2008 Admin Online Training, Cognos Online Training, Datastage Online Training, Informatica Online Training, OBIA Online Training, OBIEE Online Training, Teradata Online Training, Advanced Perl Online Training, Android Online Training, Drupal Online Training, Joomla Online Training, PHP Online Training, Python Online Training, Salesforce Online Training, SAS Clinical Online Training, SEO Online Training, Veritas Volume Manager Online Training, Web Designing Online Training.

Agenda:

 

Introduction:

  • Before Configuration Management
  • Introduction to Ansible
  • Why Ansible
  • Ansible vs other tools
  • Idempotent nature of ansible
  • Use cases

 

Ansible Architecture:

Overview of Ansible Architecture

  • Playbooks
  • Host Inventory
  • Ansible Config
  • Core Modules
  • Custom Modules
Setup and Configuration:
  • Installing Ansible
  • Ansible configuration File
  • Ansible inventory file
  • Overriding Default Configuration
  • Configuring ansible user on target servers
  • Install and configure ssh keys for authentication
  • Assignment

Ansible Ad-hoc commands:

  • Working with ad-hoc commands
  • Gathering facts
  • Filtering facts data
  • Assignment

 

Key Components of Ansible:

Modules
  • What is module
  • Commonly used modules
  • Run commands
  • Documentation
  • Assignment
Inventory
  • Default inventory
  • Hosts and Groups
  • Inventory Sources
  • Inventory variables
  • Magic variables
  • Assignmen

Tasks:

  • What is task
  • Example tasks
  • Modules in play tasks
  • Handler tasks
  • Assignment

Plays

  • What is play
  • Play Naming
  • Hosts Selection
  • Play Arguments
  • Variables
  • Loops
  • Assignment

Playbooks

  • What is playbook
  • Basic playbook creation
  • Tags
  • Running with tags
  • Registering task results
  • Conditionals
  • Error Handling
  • Aborting the play
  • Handlers and Failures
  • Assignment
Ansible Templates:

Jinja2 templates

  • Control structures
  • For Loop
  • Variable Filter
  • Magic Variables in Templates
  • Template Comments
  • Including templates in playbooks
  • Assignment

Ansible Lookups:

Lookups

  • What is lookup
  • Types of lookups
  • Using lookups in playbooks
  • Assignment

Ansible Variables:

Variables

  • Command line variables
  • Discovered Facts
  • Playbook variables
  • Scope of variables
  • Setup module
  • Facts in play
  • Include_vars
  • Includes and loops
  • Assignment

Ansible Roles:

Roles

  • Role Definition
  • Directory Structure
  • Variables
  • Dependencies
  • Conditional
  • Pre and Post Tasks
  • Example Roles
  • Assignment

Ansible Galaxy and Roles:

  • Installing roles from galaxy
  • Creating Roles
  • Deleting Roles
  • Assignment

Ansible Vault:

  • Create
  • Edit
  • Encrypt
  • Decrypt
  • Assignment