Monthly Archives: January 2023
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 »
EX294 Red Hat Certified Engineer RHCE – Exploring Core Components of Ansible
1. Introducing core components of Ansible Hello, welcome to section one understanding core components of Ansible in this section, we’ll discuss about core components of ansible. In first lecture, we’ll discuss about different components briefly. Then in coming lectures, we’ll discuss about each component in more details. So here I will introduce different ansible core… Read More »
EX294 Red Hat Certified Engineer RHCE – Configuring Ansible Managed Node Part 3
5. Task: Configuring MOTD on Managed Nodes Using Ansible Ad-Hoc Command Line Hello, welcome to this lecture. In this lecture we will learn how we can configure message of the day on the remote nodes using ansible ad hoc command. Here is task description. Use ensible ad hoc command to configure ammo TD on all… Read More »
EX294 Red Hat Certified Engineer RHCE – Configuring Ansible Managed Node Part 2
3. Task: Creating user and distributing SSH Keys using Ansible Ad-Hoc Command line Hello, welcome to this lecture. In this lecture we’ll learn how to create user on remote nodes using ansible ad hoc command and how to copy public key for the user to remote nodes to configure passwordless login here is task description… Read More »
EX294 Red Hat Certified Engineer RHCE – Configuring Ansible Managed Node
1. Introduction Hello. Welcome to section one. Configuring ansible manage nodes. During this section we’ll cover these listed objectives. We’ll learn how we can create user on the remote nodes and how we can distribute as such keys to manage nodes. We’ll do this section using ansible ad hoc commands. We’ll also learn how we… Read More »
EX294 Red Hat Certified Engineer RHCE – Configuring Ansible Control Node
1. Introduction Hello, welcome to this section. In last section we already learnt about core components of ansible. We learnt about ansible inventories. We also know what are ensile modules. We also understood what are ansible variables and ansible facts. We also understood what are ansible plays and playbooks. We also know how we can… Read More »
EX294 Red Hat Certified Engineer RHCE – Ansible Plays and Playbooks, Conditional Execution Part 5
13. Task: Creating Logical Volume using Conditional execution and Error handling In this lecture, we learn how we can create logical volumes using when condition in conditional playbook execution. Here is task description create a playbook logvolt YML to create logical volume with name LVM on May 8, nodes meeting below conditions create logical volume… Read More »
EX294 Red Hat Certified Engineer RHCE – Ansible Plays and Playbooks, Conditional Execution Part 4
10. Task Defining List Variable in File to Contain User Details as List Items Hello, welcome to this lecture. In this lecture we will create two YAML files. One file containing user details as per information specified. First three columns in this table in the form of list variable and other file containing password information… Read More »