Author Archives: blog_admin

EX294 Red Hat Certified Engineer RHCE – Using Advanced Ansible Features – Ansible Vault and Templates Part 2

3. Task: Creating and Deploying Jinja2 Template to Managed Nodes Using Playbook Hello, welcome to this lecture. In this lecture we learn how we can use template module to deploy Ginger to template file, to remote nodes or to remote node. Here is task description create a template hostname dot j two. Here we are… Read More »

EX294 Red Hat Certified Engineer RHCE – Using Advanced Ansible Features – Ansible Vault and Templates

1. Understanding jinja2 if statement Hello, welcome to this lecture. In this lecture we’ll discuss about Ginger Two template if statement. We will be using Ginger Two if and for statements later on, while creating Ginger Two template files. So this is important to understand them. We’ll learn how two if statement works with the… Read More »

EX294 Red Hat Certified Engineer RHCE – Setting Up LAB Environment

1. LAB Setup details Hello, welcome to this section. In this section we will prepare lab setup environment for this course. First of all we’ll discuss about lab setup details. We will use five CentOS eight VMs installed using Oracle VirtualBox. I am using windows machine as host machine and I have VirtualBox installed on… Read More »

EX294 Red Hat Certified Engineer RHCE – Introduction

1. Introducing Exam Objectives and Format Welcome again. In this lecture I will introduce exam objectives and exam format. On the exam you are expected to perform different system administration tasks using NCBL. So as a prerequisite you must know all the objectives of Rscsa Exam and you must know different commands you used to… Read More »

EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible Part 7

19. Ansible facts and Accessing Ansible facts using Jinja2 expressions Hello, welcome to this lecture. In this lecture we learn about ansible facts and how we can access different ansible facts variables. We know ansible facts are data information about remote systems like operating system, they use IP addresses assigned on different interfaces, hostname disk… Read More »

EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible Part 6

16. Understanding Mixed Variable(Dict+List) with Playbook example Hello. Welcome to this lecture. In this lecture we will discuss about complex variable consisting of board, dictionary and list variables. Here we have words section defined variable. Name is users. So this user’s variable is list of two items which are further dictionaries. So here this is… Read More »

EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible Part 5

13. Understanding Simple Ansible Variable with playbook example Hello, welcome to this lecture. In this lecture we’ll learn about ansible variables. We know ansible playbooks are written in YAML. YAML supports dictionary variables, list variables and complex variables using dictionaries and lists both. So in this lecture we’ll understand what our dictionary variables, what are… Read More »

EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible Part 4

10. Ansible Ad-Hoc Commands-Part 2 Now we are on ensable control node and I am logged in as root. Before we proceed further with the execution of example ad hoc commands I would display inventory file. I will use tail to display only last ten lines of inventory file. So here I removed the host… Read More »

EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible Part 3

7. Organising host_vars and group_vars In this lecture we learn how we can organize host and group VARs or variables. In previous lecture, we understood how we can specify host and group VARs in inventory file. Here we learn how we can organize host and group variables by putting them in separate files for specific… Read More »

EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible Part 2

4. Example ansible.cfg file Lecture we’ll discuss about example ansible config file. In previous lecture we explored ansible config file and we learnt about default values set over there. For example, location of inventory file, location of roast directory user to be used to connect to the remote machines enabling disabling escalation and many more… Read More »

img