Ansible – Inventory variables in Ansible (Part-11)
What are Inventory Variables in Ansible? Inventory variables in Ansible are key-value pairs that provide additional context and configuration for hosts and groups defined in your inventory….
Ansible – How Default Ansible Variables Work (Part-10)
How Default Variables Work 1.Default Variables in a Role Default variables for a role are defined in the defaults/main.yml file. These variables provide baseline values that the…
Ansible – Ansible Roles (Part-9)
What is an Ansible Role? An Ansible role is a way to group multiple tasks, variables, handlers, files, templates, and other resources into a reusable and structured…
Ansible – Ansible Templates (Part-9)
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…
Ansible – How to loop and iteration executations in Ansible Playbook with Example (Part-8)
Looping in Ansible allows you to repeat a task multiple times with different inputs. This feature is particularly useful for managing lists of items, such as packages…
Ansible – Condition module executations in Ansible Playbook with Example (Part-7)
Ansible conditioning, also known as conditional statements, allows you to execute tasks in a playbook based on specific conditions. This feature makes your playbooks more dynamic and…
Ansible – Ansible Variables (Part-6)
Variables (Vars) Variables are an essential part of Ansible playbooks, allowing you to make your playbooks more flexible and reusable. Types of Variables: Variables in Playbook: Variables…
Ansible – Ansible Playbook (Part-5)
An Ansible playbook is a YAML file that defines a set of tasks to be executed on a group of hosts. Playbooks are designed to be human-readable…
Ansible – Ansible Flow- Install Package in Ansible (Part-4)
Install Package in Local host using using adhoc command Using ad-hoc Ansible commands Install Apache using apt module: official – https://docs.ansible.com/ansible/latest/collections/ansible/builtin/apt_module.html Copy index.html using copy module: official…
Ansible – How to Install Ansible (Part-3)
Ansible Installation and Configuration Guide How to install ansible in Ubuntu? How to install ansible in Centos 7 / RHEL 7? How to install ansible in Centos…
Ansible – Components of Ansible (Part-2)
Components of Ansible 1. Executables Description: Key Executables: This command pings all hosts in the inventory to check connectivity. ansible-playbook: Used to run playbooks, which are YAML…
Ansible – What is Ansible and How it works (Part-1)
What is Ansible? Ansible is an open-source automation tool used for configuration management, application deployment, and task automation. It simplifies complex tasks and makes it easier to…
Git and GitHub – GitHub Overview (Part-15)
1. Github Description: 2. Org (Organization) Description: Example: 3. Team Description: Example: 4. Auth (Authentication) Description: Examples: OAuth Authentication: Personal Access Tokens: SSH Key Authentication: 5. Action…
Git and GitHub – Git Log Explanation (Part-14)
Git Log Explanation Explanation of Each Part 1. Commit Hash 2. References (Branches and Tags) 3. Commit Message Simplified Breakdown of Each Line Summary The git log…
Git and GitHub – Merge and Pull (Part-13)
Merge and Pull in Git Merge Merge is a command used to combine the changes from one branch into another. It is typically used to integrate changes…
Git and GitHub – Types of branch (Part-12)
Local and Remote Branches in Git Local Branch A local branch is a branch that exists in your local Git repository. You create and manage local branches…
Git and GitHub – Git Undoing, Conflict Resolution, Cherry Picking, Stash (Part-11)
Undoing changes in Git can be approached in several ways, depending on what you need to achieve. Here, we’ll cover the most common scenarios and commands for…
Git and GitHub – Understanding Git Concepts (Part-10)
Understanding Git Concepts 1. Git Branching and Merging Branching allows you to create a separate line of development. It’s useful for working on different features or fixes…
Git and GitHub – How to push/pull and clone files between Local machine and GitHub (Part-9)
Git and GitHub: Step-by-Step Guide Let’s explore how to interact with Git and GitHub, focusing on pushing, pulling, and cloning files between your local machine and GitHub….
Git and GitHub – How to push/pull and clone files between Local machine and GitHub (Part-8)
Pushing Existing Code to GitHub using HTTPS Prerequisites: Run below command It will ask for personal token to connect to github Create personal token from github Go…