Ansible Advanced
Schedules

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
  •  

    Setup and Configuration

  • 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
  •  

    Ansible Playbooks – Part 1

  • 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
  •  

    Ansible Playbooks – Part 2

  • 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
  •  

    Ansible Playbooks – Exercises

  • 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
  •  

    Ansible Modules – Part 1

  • 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
  •  

    Ansible Modules – Part 2

  • 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
  •  

    Ansible Modules – Exercises

  • 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

  • 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 Usage

  • 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
  •  

    Use Cases

  • 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
  •  

    Advanced Topics and Ansible 2.0 Updates

  • 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
  •  

 

Ansible Advanced Training Schedules:

Sl No.Training DatesLocationRegistration
109th to 12th October 2019BangaloreClick here to register
216th to 19th October 2019ChennaiClick here to register
323rd to 26th October 2019HyderabadClick here to register
410th to 13th October 2019New DelhiClick here to register
517th to 20th October 2019Mumbai Click here to register
624th to 27th October 2019PuneClick here to register
717th to 20th October 2019Sri LankaClick here to register
810th to 13th October 2019BangladeshClick here to register
Sl. No.Training DatesLocationRegistration
107th to 10th November 2019BangaloreClick here to register
214th to 17th November 2019ChennaiClick here to register
321st to 24th November 2019HyderabadClick here to register
427th to 30th November 2019New DelhiClick here to register
507th to 10th November 2019Mumbai Click here to register
614th to 17th November 2019PuneClick here to register
721st to 24th November 2019Sri LankaClick here to register
827th to 30th November 2019BangladeshClick here to register
Sl No.Training DatesLocationRegistration
104th to 07th December 2019BangaloreClick here to register
211th to 14th December 2019ChennaiClick here to register
318th to 21st December 2019HyderabadClick here to register
425th to 28th December 2019New DelhiClick here to register
512th to 15th December 2019Mumbai Click here to register
619th to 22nd December 2019PuneClick here to register
726th to 29th December 2019Sri LankaClick here to register
824th to 27th December 2019BangladeshClick here to register