Ansible Certification Table of Contents

    
Table of Content
 

 

Introduction

  • Introduction to Ansible
  • Ansible Core Versus Ansible Community
  • How Ansible Works?

Environment Setup

  • Launching Required Nodes / Servers for Ansible Setup
  • Launching Ansible-Controller Node - CentOS9 Node from Windows WSL2
  • Installing Ansible-Core on CentOS9 with Python Version 3.9.x
  • Ansible Configuration to Work with Managed Nodes
  • Why Ansible Is Called Agentless Tool
  • Creating userId on Ansible Controller and Switching to ansadmin from userid
  • Simple Ansible Architecture
  • How to Get the Latest File or Directory from Current Location?

Ad-Hoc Commands with Modules

  • Introduction to Ansible Ad-Hoc Commands with Modules | Commands for Modules
  • Ansible Ad-Hoc Commands to Execute Any Unix/Linux Commands
  • Handling Arguments with Quotations
  • What Is the Backend Story to Execute Ansible Ad-Hoc Commands?

Ansible Ad-Hoc Command to Work with Files

  • List of File Modules to Work with files|file, Copy, lineinfile, blockinfile...
  • Ansible Ad-Hoc Commands with File Module to Create a File on Managed Nodes
  • Ansible Ad-Hoc Commands with stat Module
  • Ansible Ad-Hoc Commands with Copy Module
  • Ansible Ad-Hoc Commands with lineinfile Module to Append/Replace/Delete Lines
  • Ansible Ad-Hoc Command with Fetch Module to Download from Managed Nodes

Installing Packages on Different OS Families

  • Ansible Ad-Hoc Commands with yum and apt Modules to Install Packages

Executing Ansible Ad-Hoc Commands on Ansible Controller Node or on Localhost

  • Executing Ansible Ad-Hoc Commands on Ansible Controller Node Itself

Understanding the Output of Ansible Ad-Hoc Commands Output

  • Why Ansible Operations or Tasks Are Called Idempotent?

Executing Ansible Ad-Hoc Commands with Your User ID and Password

  • Executing Ansible Ad-Hoc Commands with Your Real-Time User ID and Password

Ansible Inventory File(s)

  • Inventory File(s) to Work with Multiple Environments
  • Types of Ansible Inventory Files

Ansible Configuration File(s)

  • Multiple Locations of Ansible Configuration Files and Their Priority

Shell Scripts with Ansible Ad-Hoc Commands

  • How to Use Ansible Ad-Hoc Commands in Shell Scripts

Ansible Facts

  • Ansible Default Facts with setup Module
  • How to Create Custom Facts Based on Requirement

Introduction to Playbooks

  • Introduction to Playbooks and Why We Need Playbooks
  • How to Use Visual Studio Code Editor to Develop Ansible Playbooks
  • First Playbook
  • Executing Playbooks on Ansible Controller Node Itself
  • Commands to Verify the Playbook Syntax

Basic Concepts to Develop Playbooks

  • Introduction to Ansible Custom Variables
  • Data Types of Variables
  • Data Structures of YAML Scripting
  • Read Variable Values from a File
  • Passing Variable(s) Value(s) from Command-Line
  • Usage of vars_prompt Section in Playbooks
  • host_vars and group_vars
  • Debug Module with vars and msg Arguments

Registered and setfacts Variables

  • Ansible Register Variable - To Capture the Output of a Task into Variable
  • Ansible Set Fact Variables - Define or Redefine Variable(s) in Between the Tasks

Operations on Variables

  • Types of Operators | Operations on Variables
  • Arithmetic Operators
  • Filters and Methods Usage to Manipulate Data - Variable Data or Direct Data
  • Comparison Operators | Equal, Not-Equal, Greater, Lesser...
  • Membership Operators
  • Logical Operators
  • Test Operators
  • Operations on List or Sequence
  • Operations on Strings
  • Operations on Dictionaries or Maps
  • Points to Remember

Conditional Statements

  • Conditional Statement with when
  • In-Line Conditional Statement with if-else

Ansible Playbooks to Practice on Basic Concepts

  • Design Simple Arithmetic Calculator
  • Simple Playbook to Find the Python Version
  • Playbook to Find the Java Version
  • Playbook to Execute Any Command

Ansible Facts (Default Facts) and Systemd Facts

  • Working with Ansible Facts (Default Facts) Using Playbooks
  • Service or Systemd Facts with service_facts Module
  • inventory_hostname and hostvars

Usage of become and become_user

  • Usage of become, become_user, and become_method

Installing Packages | Task Reusability with import_tasks and include_tasks

  • Installing Given Package Based on OS Family
  • Install a Package Based on Managed Nodes Package Managers
  • Write a Playbook to Install Any Package(s)
  • How to Reuse Ansible-Tasks with import_tasks and include_tasks

Handlers

  • How to Use Handlers and When Handlers Execute

Usage of Tags to Execute Required Tasks

  • How to Use Tags to Execute Tasks

Error Handling

  • Error Handling | Part-1
  • Error Handling with block and rescue and Also Grouping Multiple Tasks | Part-2

Ansible Logging

  • Capturing the Output of Ansible Ad-Hoc Commands and Playbooks into a Log File

Usage of remote_src , deletegate_to, and run_once Options for Ansible Playbooks

  • Install and Set JAVA_HOME as Environment Variable for All Applications
  • Playbook to Set JAVA_HOME for Any Open JDK with Valid URL

Simple Real-Time Ansible Playbook

  • Simple Real-Time Ansible Playbook with the Combination of Tags, Block and Handlers

Loops for Ansible Playbooks

  • Introduction to Loops
  • Loops to Work with List
  • Installing Multiple Packages with Loops
  • Loops to Work Dictionaries

Working with Templates

  • Introduction to Template Module
  • Template File with Variables, Conditions, and Loops

Introduction to Plugin

  • What Is an Ansible Plugin and How to List Required Plugins?

Working with Third-Party or Ansible Community Collections or Modules

  • Installing Required Collections or Required Module from Required Namespace

Ansible Dynamic Inventory with Plugins

  • Ansible Dynamic Inventory for AWS with Plugin
  • Ansible Dynamic Inventory and Working with Managed Nodes Using Default ec2-us

Ansible Roles

  • Introduction to Ansible Roles

Ansible Vault

  • How to Use Ansible Vault to Encrypt Secrets

Raw Module

  • Working with Managed Nodes if Managed Nodes Are Installed with Python

Ansible Project Setup for Real Time to Work with Servers

  • Different Cases to Work with Remote Servers or Managed Nodes
  • Directory Structure for Real-Time Project
  • Working with User ID and Password for Ansible Ad-Hoc Commands and Playbooks
  • Working with SSH Keys for Ansible Ad-Hoc Commands and Playbooks


Apply for Certification

https://www.vskills.in/certification/ansible-certification-course

 For Support