Automation with Ansible Playbooks

Automation with Ansible Playbooks

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 17h 35m | 6.37 GB

Using Ansible to automate local and cloud configuration management tasks with Playbooks

This course is designed to get you hands-on with using Ansible for automating local and cloud configuration management tasks with Playbooks.

You’ll be guided through working with managed nodes. Moving ahead, the course will get you hands-on with setting up password authentication. As you approach the concluding sections, you’ll even get to grips with transferring a file from Ansible Engine to nodes using the copy module.

By the end of this course, you will be well-versed with the essential concepts, along with having the skills you need to automate tasks effectively using Ansible.

Learn

  • Understand how to work with managed nodes if managed nodes are not installed with Python
  • Delve into the implementation of Ansible Playbooks from the basic level to the advanced level
  • Understand the block module and its usage
  • Understand how to set up password authentication
  • Perform Ansible installation and configuration
Table of Contents

Introduction
1 Preview of the course – Automation using Ansible – Step by Step
2 Introduction – Story before Ansible or Any other configuration Management tools
3 Ansible Architecture

Installing and Configuring Ansible
4 Ansible Installation and Configuration Part-1 (Installation)
5 Ansible Installation and Configuration Part-2 (Configuration)
6 Ansible Directory Structures
7 How to disable host key checking
8 Inventory file with Groups and Group of Groups
9 Different locations of ansible.cfg file with priority
10 Review on Ansible Architecture
11 Installing Ansible Engine on RHEL 8

Ansible Ad-hoc commands
12 Introduction to Ad-hoc commands Basic syntax for Ansible Ad-hoc commands
13 How Ansible Works (Executing Ad-hoc commands or Playbooks)
14 Transfer a file from Ansible Engine to Nodes using copy module
15 Download a file from Ansible Managed Nodes to Ansible Engine
16 Create or Delete a file or directory on Managed Nodes
17 List of different modules to work with files
18 Install a package like git, httpd, mysql, git on Linux Systems using yum module
19 Command Module

Ansible Facts and Variables
20 Introduction to Ansible Facts
21 How to create and work with custom facts

Ansible Inventories (Static and Dynamic Inventories)
22 Inventory Types and Working with AWS EC2 Dynamic Inventory Script
23 Simple Custom Dynamic Inventory Script creation

How to work with Managed nodes if managed nodes are not installed with Python
24 Working with managed nodes using raw module

Password Authentication setup and explanation
25 Working with Managed Nodes using a Password Password Authentication
26 Executing Ansible tasks with default and different users on Managed Nodes

Ansible Variables
27 Basic introduction to Ansible variables

Introduction to Ansible Playbooks
28 Introduction to Playbooks with task and play concepts
29 Writing Simple Playbooks for basic understanding
30 Basic Key Points to run Ansible Playbooks

Basic concepts to write Playbooks (Working with different variables)
31 Print any message (ex – welcome to Playbooks) using playbook
32 Variable and data types
33 Data Structures Data Collections
34 Simple playbook to understand the usage of register and set fact
35 How to read a variable and print using ansible playbook
36 How to read a variable from yaml json file
37 Working with command line arguments
38 Working with Gather facts variables or setup module variables
39 Working with inventory hostname and hostvars variables

Visual Studio Code Editor for Ansible Playbooks
40 Installing and using Visual Studio Code Editor for Ansible Playbooks

Operations on strings and numbers using Playbooks (Filters and Methods)
41 Arithmetic operators on numbers
42 Simple practice on Arithmetic Operators
43 Filters and Methods of Ansible Playbooks

Operators to work with tasks
44 Comparison operators
45 Membership operators and Test Operators
46 Logical operators

Conditional Statements
47 Settings for Ubuntu server to consider it as a Managed Node
48 How to use when conditional statement (Explanation with simple playbook)
49 Inline conditional statement

Introduction to handlers
50 Basic usage of Handlers

Loops
51 Introduction to loops

Tags
52 Working with tags and skip tags

Error Handling (ignore errors,failed whenblock, rescue and always)
53 Error Handling part 1
54 Error Handling with block and rescue part 2

Ansible reusable concepts with – import tasks,include tasks
55 Reusable tasks with import and include

loacal action vs delegate to
56 Usage of local action and delegate to

Tomcat Installation and Configuration using Playbook
57 Java and Tomcat installation and configuration using template module

Template module
58 Introduction to template module with variables
59 Template variables, conditional statements and loops

AWS Provisioning Using Ansible
60 Ansible Environment setup for AWS Provisioning
61 Launch EC2 Instances with multiple security groups and Tags
62 Simple playbooks to start stop and terminate ec2 instances
63 Single playbook to start stop and terminate Instance
64 EC2 Tags help to start, stop and terminate instances
65 Cleanup Tag-less EC2 Instances using Playbooks
66 Generate CSV Reports using ansible Playbooks for ec2 Instances

Ansible Vault to Protect Ansible Playbooks with Encryption
67 Ansible-Vault

Ansible-Roles
68 Converting a playbook into to Ansible Roles