Category Archives: Uncategorized
EX294 Red Hat Certified Engineer RHCE – Using Ansible Modules For System Administration Tasks Part 3
7. Task: Scheduling Jobs using Playbook Hello, welcome to this lecture. In this lecture we’ll learn how we can schedule jobs. Using ansible. Here is task description. Create a playbook chrome jobs YML to schedule below tasks restart RC slope service at 23 hours and 6 hours on load nodes every day. Restart RC slope… Read More »
EX294 Red Hat Certified Engineer RHCE – Using Ansible Modules For System Administration Tasks Part 2
4. Task: Creating file, Setting Owner and Configuring permissions using Playbook Hello welcome to this lecture. In this lecture we’ll learn how we can create file own manage nodes using ansible playbook and how we can set user owner group owner on the file and how we can configure permissions on this file. Here is… Read More »
EX294 Red Hat Certified Engineer RHCE – Using Ansible Modules For System Administration Tasks
1. Introduction Hello. Welcome to section use of ansible Medus for system administration tasks. In this section we will be using ansible Medus in playbooks as well as in ansible ad hoc commands to perform different system administration tasks. Here is list of objectives we will be covering. In this section we’ll learn how to… Read More »
EX294 Red Hat Certified Engineer RHCE – Working with Roles Part 2
5. Task: Downloading Multiple Roles using YAML File Hello, welcome to this lecture. In this lecture we will learn how we can download multiple roles using YAML file. To download multiple roles, we can use YAML file with extension dot YML defining list of roles to be installed or downloaded below. Details can be provided… Read More »
EX294 Red Hat Certified Engineer RHCE – Working with Roles
1. Introducing Ansible Roles Hello, welcome to lecture on introducing ansible roles. What are ansible roles? Ansible role is a standard directory architecture or structure where contents of playbook, light, tasks, handlers variables, template, files and metadata are kept for organizations purpose ansible role is nothing but playbook contents such as tasks, related files and… Read More »
EX294 Red Hat Certified Engineer RHCE – Using Scripts for System Administration Tasks
1. Introduction Hello. Welcome to section One. Using scripts for system administration tasks till now, we already learnt how to write ansible playbooks and how to use ansible ad hoc commands. In this section, we learn how we can use ansible ad hoc commands to run as shell script. In fact, we will be doing… Read More »
7. Introducing and Understanding Ansible Vaults With Example Playbook Hello, welcome to this lecture. In this lecture we’ll learn about ansible vault. Ansible vault as name indicates is a feature of ansible to keep sensitive data such as passwords or keys in encrypted files rather than as plain text in playbooks or roles. We’ll use… Read More »
5. Task: Creating J2 Template to Configure Hosts file as Local DNS on Managed Nodes Hello, welcome to this lecture. In this lecture we learn how we can configure hosts file on the remote nodes as local DNS using Ginger to template file and template module. This is practical example and we often need to… Read More »
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 »
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 »