Ansible Tower Install and Setup Quick Guide

Supported Operating Systems: Red Hat Enterprise Linux 6 64-bit Red Hat Enterprise Linux 7 64-bit CentOS 6 64-bit CentOS 7…

Read more »

Ansible Playbook Lab & Excercise – Part 3

Create a playbook where you should install a webserver into 2 OS type(Ubuntu and RHEL) with fact conditioning. and list…

Read more »

Ansible Windows Playbook Lab & Excercise – Part 4

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

Read more »

Ansible Windows Adhoc Commands Lab & Excercise – Part 3

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

Read more »
ansible-error

Ansible Error while executing adhoc commands/playbook in windows remote

Error – Failed to connect to the host via ssh Solution – You need to set ansible_connection=winrm to connect to…

Read more »
ansible-install-centos-rhel

How to install Ansible in Centos 7/RHEL 7?

How to install Ansible in Centos 7/RHEL 7? Install Ansible via Pip in RHEL/CENTOS

Read more »

Ansible Include and Import with differences explanined!

This is one of the most frequest questions being asked in my workshop is that differences between using import or…

Read more »

Understanding Ansible Architecture using diagram

Read more »

Understanding Ansible playbook using diagram

Read more »

Order of operations during Ansible playbook parsing explained!

We will delve into some specifics of how a playbook is parsed for Order of operations. Ansible can be assumed…

Read more »

How can I pass variable to ansible playbook in the command line?

It is possible to set variables at the command line using the –extra-vars (or -e) argument. Variables can be defined…

Read more »

Ansible include scnario with list of plays or tasks

Are you trying to use include in your playbook and coming across a error somthing like “A playbook must be…

Read more »

How to specifying multiple groups in a playbook hosts specification?

By design, Ansible executes just one play at a time. Your playbook consists of two plays (the two items in…

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

Read more »

Calling Ansible handlers based on OS distributions

Read more »

Reboot and wait for reboot to complete in Ansible playbook

Reference – https://blog.confirm.ch/calling-ansible-handlers-based-on-os-distributions/

Read more »

Anatomy of Ansible play defined!

A Play performs one or more Tasks against one or more Managed Nodes. Each playbook is composed of one or…

Read more »

Login to linux ansible remote server enabled with LDAP using SSH?

Here is the scnario which we tried last week with Pranav Goel in order to login the Ansible remote server…

Read more »

Ansible Role Project 1

Step 1 – Create a role which has following specification. Install a webserver httpd # use role/vars/ Add cond…httpd should…

Read more »

Ansible Tower Administration Guide

Ansible Tower Support – If you have paid membership, you can contact the support team at https://access.redhat.com How to understand…

Read more »

Ansible Variable Lab & Excercise – Part 2

Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in role var…

Read more »

Ansible Variable Lab & Excercise – Part 1

Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in inventory. Assigment…

Read more »

How to access Ansible remote machine using SSH user and key?

How to access Ansible remote machine using SSH user and key? There are following ways, you can autheticte linux remote…

Read more »

Ansible execution connection type

Ansible executes playbooks in the remote server using following connection type. To change the connection type, you need to pass…

Read more »

Use of runtime variables to save into another variable using register in Ansible

Another major use of variables is running a command and using the result of that command to save the result…

Read more »

Ansible & Ansible Tower Variable Precedence Hierarchy

Ansible & Ansible Tower Variable Precedence Hierarchy (last listed wins)

Read more »

How to use template in Ansible?

How to use template in Ansible? ##### Step 1 – Create your inventory file with ##### ##### Step 2 –…

Read more »

Run Ansible Adhoc commands or playbook in Local mode

If you are trying to run Ansible Adhoc commands or playbook in Local mode, these articles will help you. Ansible…

Read more »

Ansible Playbook Lab & Excercise – Part 2

Execution Mode – Remote Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create…

Read more »