Ansible Tower Install and Setup Quick Guide

To install Red Hat Ansible Tower 3.8.6 (using ansible-tower-setup-3.8.6-2.tar.gz), your environment must meet a set of hardware, software, and system prerequisites. Below are the summarized requirements specific to this Tower…

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

What is Ansible and use cases of Ansible?

What is Ansible? Ansible is an open-source automation tool used for configuration management, application deployment, and task automation. It simplifies complex IT tasks by automating them using…

Read More

Ansible Tutorials: Calling one Play & Tasks from another play in Playbook

import_tasks module The Ansible import_tasks module is used to import a list of tasks from a file into the current playbook for subsequent execution. The name of…

Read More

Ansible Tutorial: Anatomy of Ansible playbook defined!

host defines the target machines: one or more groups or host patterns, separated by colons that should match hosts in the inventory. all is a group that…

Read More

Complete Ansible Certification Guide & tutorials

What is Ansible? Ansible is an open-source tool which can automate the configuration of all the systems. With ansible a small team of system administrator can write…

Read More

TOP 65+ INTERVIEW QUESTIONS FOR ANSIBLE

Ansible most asked FAQ’s and interview questions:- Q1) what is Ansible? Ansible is developed in Python language. It is a software tool. It is useful while deploying…

Read More

Ansible Connection Options for windows remote Server

Error – Failed to connect to the host via ssh Solution – You need to set ansible_connection=winrm to connect to windows [windows] 13.233.160.153 [windows:vars] ansible_connection=winrm Error –…

Read More

Interview Questions & Answers for Ansible

Ansible Describe each of the following components in Ansible, including the relationship between them: Task Module Play Playbook Role How Ansible is different from other Automation tools?…

Read More

How can we use Ansible and where?

Friends, First of all let’s know about Ansible is simple yet powerful. It is a great automation tool and does have great future. It is an open-source…

Read More

Understanding Ansible playbook using diagram

Example Playbook Code Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel…

Read More

Ansible Example of Multple Play in One Playbook and Multple Playbook in One Yaml files

Example of Multple Ansible Play in One Playbook Example of Multple Ansible Playbook in One Yaml file Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and…

Read More

Ansible Variable: Understanding Ansible Register variable scope and use across playbook and hosts

Registered variables are similar to facts, with a few key differences. Like facts, registered variables are host-level variables. However, registered variables are only stored in memory. Register…

Read More

Shell Script to Install Ansible AWX in RHEL 7 and CENTOS 7

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

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

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

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

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

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

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

Ansible Module Sample Code to Work with API – Example 1

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More

Ansible Interview Questions and Answer – Part 12

Which is the right repository definition should be inserted in pom.xml for uploading snapshot artifactory? Which is the right repository definition should be inserted in pom.xml for…

Read More

Ansible Interview Questions and Answer – Part 11

What is the best way to allow a Docker client running in a container access to the underlying Docker host? Map the root filesystem to the container….

Read More

Ansible Interview Questions and Answer – Part 10

How would you ensure your application is configured correctly for different types of tests? This is not possible. Create multiple configuration files for your application, one per…

Read More

Ansible Interview Questions and Answer – Part 9

You can add groups inside of groups when: You add existing group names under a [groupname:children] definition (Ans) You cannot add groups within groups. You add existing…

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 7

Task to connect(SSH) Ansible to remote host using another user & run the playbook to the remote host using with another user? What is Ansible vault? How…

Read More

Ansible Interview Questions and Answer – Part 6

What is Ansible? What is Configuration Management? Is Ansible only a tool for Configuration Management? What are the components of Ansible? How Ansible works? What are the…

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 Interview Questions and Answer – Part 4

What is local action in Ansible? What are the roles in Ansible? Write a playbook for installation of apache in ubuntu and centos? How to create a…

Read More

Ansible Interview Questions and Answer – Part 3

What are handlers used for in ansible and how is it diffrent from tasks? Conditional execution in ansible is used for what purpose and write down its…

Read More

Ansible Interview Questions and Answer – Part 2

What is the purpose and location of ansible.cfg file. Name any two settings from anible.cfg file. Please write below a sample inventory file with host, group &…

Read More

Ansible Interview Questions and Answer – Part 1

What is inventory file used for and default inventory host location? What is ansible configuration file used for and its default path? Do you write your inventory…

Read More