Ansible: step-by-step tutorial on Ansible Collections

Here’s a very detailed, step-by-step tutorial on Ansible Collections—covering what they are, why you need them, how to use them, how to create your own, and key…

Read More

Ansible: Unit Testing in Ansible?

What is Unit Testing in Ansible? Unit testing in Ansible refers to testing the smallest pieces of code within Ansible—primarily custom modules, plugins, or Ansible-related Python code—in…

Read More

Ansible: How to use template in Ansible using Jinja2?

Here’s a comprehensive tutorial on Ansible Templates and Jinja2, suitable for engineers or anyone preparing for an advanced Ansible role. 1. What are Ansible Templates? Ansible templates…

Read More

Ansible: Command line tools with example in Ansible

1. ansible Run a single task (module) against hosts in your inventory. For quick, ad-hoc commands. General Syntax Common Examples and All Key Combinations Example Description ansible…

Read More

Ansible Template and Handlers explained with Example

We can declare variables in Which can be used & Intropolate only in playbook Tasks but not in the files used in playbook. Solution: TemplateUsing Template module…

Read More

Storage Administrator Tasks using Ansible

List of Ansible Modules & Collection of Storage Provisioning Modules: Collections: List of Ansible Modules & Collection of Data Backup and Recovery List of Ansible Modules &…

Read More

System administrator Tasks in OS & Servers using ansible

List of Ansible Modules of Servers Updates and Patching List of Ansible Modules of Servers Vulneability Scan & Security Management List of Ansible Modules of Servers User…

Read More

Ansible Modules & Collections for Database Maintenance, Upgrade and Patching

Ansible has several modules and collections that can be used for database maintenance, upgrade, and patching tasks. However, please note that the landscape of Ansible modules and…

Read More

What is Ansible collection?

An Ansible collection is a distribution format that bundles together Ansible content such as playbooks, roles, modules, and plugins into a single package. It provides a way…

Read More

Ansible Module Sample Code using Linux Bash script Example 5

Ansible Tutorial | How to write Ansible Playbooks | Ansible Crash Course Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about…

Read More

Ansible Tools and Commands

Before going further deep into Ansible, it is time to get familiar with some important Ansible commands: ansible: It is an extra – simple root / framework…

Read More

What is Ansible Plugins and How to Extend Ansible Through Plugins?

What is Ansible Plugins? Did you know a large portion of Ansible’s functionality comes from the Ansible plugin system? These important pieces of code augment Ansible’s core…

Read More

Ansible Module Sample Code to Work for user data – Example 4

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Ansible Module Sample Code to Work using OS commands (curl) – Example 3

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Ansible Module Sample Code to Work using github API – Example 2

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Ansible Module Sample Code to Work with API – Example 1

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Ansible Interview Questions and Answer – Part 8

You can merge multiple inventory files to scale out. True False (Ans) A __ module may be pulled from repository at a future time. Bronze Core Deprecated…

Read More

Ansible Interview Questions and Answer – Part 5

How can you the fact varibales in ansible? can we create an ansible module ? 83 . How can you do provisioning with ansible? 84 . BASH…

Read More

Ansible Windows Adhoc Commands Lab & Excercise – Part 2

Write a Adhoc command to Create a dir, named with your-name inside C:\HPE and create a file named with “readme.txt” inside “C:\HPE\ and content of the file…

Read More

Understanding Ansible Architecture using diagram

What is Ansible? Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices….

Read More

Difference between ansible vars_files vs include_vars

Both of them have some commonalities but they solve different purposes. vars_files are read when the play starts. include_vars are read when the play reaches the task….

Read More

Working with Azure using Ansible

Ansible includes a suite of modules for interacting with “Azure Resource Manager”, giving you the tools to easily create and orchestrate infrastructure on the Microsoft Azure Cloud….

Read More