Srbija Posted November 5, 2023 #1 Posted November 5, 2023 Learn Ansible Automation In 240+Examples & Practical Lessons Last updated 10/2022 MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz Language: English | Size: 13.28 GB | Duration: 39h 30m Learn Ansible with some real-life examples of how to use the most common modules and Ansible Playbook What you'll learn Ansible in real life use cases Ansible troubleshooting of most common errors Install Ansible in the most common operating system Ansible code by modules Ansible code specific for RedHat-like and Debian-like systems Requirements Ansible basic knowledge Description Learn the Ansible automation technology with some real-life examples.Every successful IT department needs automation for bare metal servers, virtual machines, could, containers, and edge computing. Automate your IT journey with Ansible automation technology.I'm going to teach you, example by example, how to accomplish the most common System Administrator tasks.You will start with installing Ansible in RedHat Enterprise Linux, Ubuntu, and macOS using the most command package manager and archives.Each of the 240+ lessons summarizes a module: from the most critical parameter to some live demo of code and real-life usage. Each code is battle proved in real life. Every video includes terminal interaction and verification steps. Mundane activities like creating a text file, extracting and archiving, and fetching a repository using HTTPS or SSH connections could be automated with some lines, user management, and interaction with API services; these are only some of the long lists included in the course.Some Ansible codes are usable in all the Linux systems, some specific for RedHat-like, Debian-like, and Windows systems.The 20+ Ansible troubleshooting lesson teaches you how to read the error message, reproduce it, and the process of troubleshooting and resolution.Are you ready to automate your day with Ansible? Overview Section 1: Introduction Lecture 1 Introduction Section 2: Install Ansible Lecture 2 Ansible terminology - ansible vs ansible-core packages Lecture 3 How to install Ansible in RedHat Enterprise Linux 8 Lecture 4 How to install Ansible in Amazon Linux 2 (AWS EC2) Lecture 5 How to install Ansible in Fedora 34 Lecture 6 How to install Ansible in Ubuntu 20.04 LTS Lecture 7 How to install Ansible in Ubuntu 21.10 Lecture 8 How to install Ansible in Ubuntu 22.04 LTS Lecture 9 How to install Ansible in Fedora 35 Lecture 10 How to install Ansible in CentOS 8 Lecture 11 How to install Ansible in CentOS Stream 8 Lecture 12 How to install Ansible in CentOS 9 Stream Lecture 13 How to install Ansible in Debian 11 Lecture 14 How to install Ansible in OpenSUSE Leap 15 Lecture 15 How to install Ansible in Rocky Linux 8 Lecture 16 How to install Ansible in macOS Lecture 17 How to install Ansible with PIP Lecture 18 How to install Ansible in Windows 10 WSL Windows Subsystem for Linux Lecture 19 How to install Ansible in Windows 11 WSL: Windows Subsystem for Linux Lecture 20 How to install Ansible in ArchLinux 2021.12.01 Lecture 21 How to install Ansible in Gentoo Linux Lecture 22 How to install Ansible in AlmaLinux 8 Lecture 23 How to install Ansible in Oracle Linux 8 - Ansible install Lecture 24 How to install Ansible in SUSE Linux Enterprise Server (SLES) 15 SP3 Lecture 25 How to install Ansible in RedHat Enterprise Linux 9 Beta Lecture 26 How to install Ansible in Fedora 36 Lecture 27 How to install Ansible in RedHat Enterprise Linux 9 Lecture 28 How to install Ansible in AlmaLinux 9 - Ansible install Lecture 29 How to install Ansible in OracleLinux 9 - Ansible install Lecture 30 How to install Ansible in Rocky Linux 9 - Ansible install Section 3: Ansible Tip & Tricks Lecture 31 Print a text/variable during execution - Ansible module debug Lecture 32 Pause execution - Ansible module pause Lecture 33 How to Pass Variables to Ansible Playbook in the command line? - Ansible extra Lecture 34 Break a string over multiple lines - Ansible Literal and Folded Block Operator Lecture 35 Ansible terminology - ansible_hostname vs inventory_hostname Lecture 36 Set remote environment per task or play - Ansible environment statement Lecture 37 Execute command on the Ansible host - Ansible localhost Lecture 38 Three options to Safely Limit Ansible Playbooks Execution to a Single Machine Lecture 39 Ansible modules - command vs shell Lecture 40 Write a Variable to a File - Ansible module copy vs template Lecture 41 How to Run Only One Task in Ansible Playbook? - Ansible tags statement Lecture 42 Filter A List By Its Attributes - Ansible selectattr filter Lecture 43 Using Date, Time and Timestamp in Ansible Playbook - Ansible Tip and Tricks Lecture 44 Using Date, Time and Timestamp without Facts in Ansible Playbook - Ansible date Lecture 45 Ansible Playbook Dry Run - check and diff mode Lecture 46 Ansible Magic Variables - Ansible Tip and Tricks Lecture 47 Current ansible-playbook Path - playbook_dir Magic Variable - Ansible Tip and Tr Lecture 48 Run a Python Script on Remote Machines - Ansible module script Lecture 49 Build a Custom Ansible Execution Environment - ansible-builder command-line tool Lecture 50 Run an Ansible Execution Environment - ansible-runner command-line tool Section 4: Ansible Playbook code for Linux Lecture 51 Edit single line text - Ansible module lineinfile Lecture 52 Edit multi-line text - Ansible module blockinfile Lecture 53 Test host availability - Ansible module ping Lecture 54 Reboot remote hosts - Ansible module reboot Lecture 55 Checkout git repository via SSH - Ansible module git Lecture 56 Checkout git repository via HTTPS - Ansible module git Lecture 57 Copy files from remote hosts - Remote to Local - Ansible module fetch Lecture 58 Copy files to remote hosts - Local to Remote - Ansible module copy Lecture 59 Copy Multiple Files - Ansible lookup plugin fileglob Lecture 60 Start and enable services on boot on remote hosts - Ansible module service_facts Lecture 61 Stop and disable services on boot on remote hosts - Ansible module service Lecture 62 Apply a file template - Ansible module template Lecture 63 Restart services on remote hosts - Ansible module service Lecture 64 Schedule a Cron Job task in Linux - Ansible module cron Lecture 65 Loop in file template - Ansible module template - Generate hosts file Lecture 66 Read file from remote hosts - Ansible module slurp Lecture 67 Read a file into a variable on host - Ansible lookup plugin file Lecture 68 Download a file using an HTTPS proxy via environment variables - Ansible get_url Lecture 69 Read an environment variable - Ansible lookup plugin env Lecture 70 Permanently Set Remote System Wide Environment Variables on Linux - Ansible line Lecture 71 Reduce Intel Laptop CPU Temperature Overheating In Linux - ansible module packag Lecture 72 Read a JSON file into a variable - Ansible lookup plugin file Section 5: Ansible Code reuse: Roles and Collections with Ansible Galaxy Lecture 73 How to Download and Use Ansible Galaxy Roles ansible-galaxy and requirements Lecture 74 Download and Use Ansible Galaxy Collection - ansible-galaxy and requirements.yml Lecture 75 Build & Run an Ansible Execution Environment - ansible-builder & ansible-runner Section 6: Ansible code to interact with Linux filesystem Lecture 76 Create an empty file - Ansible module file Lecture 77 Create a text file - Ansible module copy Lecture 78 Check if a file exists - Ansible module stat Lecture 79 Create a directory - Ansible module file Lecture 80 Check if a directory exists - Ansible module stat Lecture 81 Rename file or directory - Ansible module copy and file Lecture 82 Change file permission - Ansible module file Lecture 83 Add Execute Permission 755 on Linux file Ansible module file Lecture 84 Delete file or directory - Ansible module file Lecture 85 Create a symbolic link (also symlink or soft link) in Linux -Ansible module file Lecture 86 Create a hard link in Linux - Ansible module file Lecture 87 Download a file - Ansible module get_url Lecture 88 Extract an archive - Ansible module unarchive Lecture 89 Mount a Windows share in Linux SMB/CIFS - Ansible module mount Lecture 90 Mount an NFS share in Linux - Ansible module mount Lecture 91 Concatenate multiple files in a specific order - Ansible module template and YAM Lecture 92 Backup With Rsync Local to Remote Ansible module synchronize Lecture 93 Find All Files with Extension - Ansible module find Lecture 94 Search for a String in a File -Ansible module lineinfile Lecture 95 How to Delete Only Files Inside a Directory - Ansible module find Lecture 96 Create ISO image from Files and Folders - Ansible module iso_create Section 7: Ansible Code to Interact with Linux Storage Lecture 97 Create a New LVM Partition - Ansible module parted Section 8: Ansible code for user management on Linux systems Lecture 98 Create a user account - Ansible module user Lecture 99 Remove user account - Ansible module user Lecture 100 Change user password - Ansible module user Lecture 101 Disable user account - Ansible module user Lecture 102 Enable user account - Ansible module user Lecture 103 User password expiration - Ansible module user Lecture 104 Create a group in Linux - Ansible module group Lecture 105 Delete a group - Ansible module group Lecture 106 Add a User to a Second Group on Linux - Ansible module user Lecture 107 Change the User Primary Group on Linux - Ansible module user Section 9: Ansible Playbook Code interact with Web Services API Lecture 108 Submit a GET request to a REST API endpoint - Interact with web services - uri Lecture 109 Token Based Authentication in REST API - Interact with webservice - Ansible uri Section 10: Ansible Playbook code for Linux Security Lecture 110 Set sysctl kernel parameters - Ansible module sysctl Lecture 111 Load and Unload Kernel Modules in Linux - Ansible module modprobe Lecture 112 Configure Kernel Parameters in RedHat-like Linux systems - Ansible system role Lecture 113 Set the SELinux Policy States and Modes on Linux - Ansible module selinux Lecture 114 Enable or Disable Permissive Domain in SELinux policy on Linux - Ansible module Lecture 115 Enable or Disable SELinux Boolean on Linux - Ansible module seboolean Lecture 116 Vulnerability Scanner Log4Shell Remote Code Execution Log4j (CVE-2021 44228) Lecture 117 How to mitigrate Polkit Privilege Escalation - PWNKIT (CVE-2021-4034) on RedHat Section 11: Ansible Playbook code for RedHat-like systems Lecture 118 Register a system with Red Hat Subscription-Manager - Ansible module redhat_subs Lecture 119 Install a package in RedHat like systems - Ansible module yum Lecture 120 Deploy a web server apachehttpd on RedHat-like systems - Ansible modules yum, c Lecture 121 Rolling Update RedHat like systems - Ansible module yum Lecture 122 Open firewall ports in RedHat like systems - Ansible module firewalld Lecture 123 Install Google Chrome in RedHat-like systems - Ansible module rpm_key, yum_repos Lecture 124 Install Microsoft Edge in RedHat-like systems - Ansible module rpm_key, yum_repo Lecture 125 NFS Server - Export an NFS Share in RedHat-like systems - six Ansible modules Lecture 126 Deploy a proxy server squid on RedHat-like systems - Ansible modules yum, templa Lecture 127 Deploy a web server apachehttpd virtual host on RedHat-like systems - Ansible Section 12: Ansible Playbook code for Debian-like systems Lecture 128 Install a package in Debian like systems - Ansible module apt Lecture 129 Rolling Update Debian-like systems - Ansible module apt Lecture 130 Open firewall ports in Debian like systems - Ansible module ufw Lecture 131 Install Google Chrome in Debian-like systems - Ansible module apt_key, apt_repos Lecture 132 Install Microsoft Edge in Debian-like systems - Ansible module apt_key, apt_repo Lecture 133 Deploy a web server apachehttpd on Debian-like systems - Ansible modules apt, c Lecture 134 Deploy a web server apachehttpd virtual host on Debian-like systems - Ansible m Section 13: Ansible Playbook code for Suse-like systems Lecture 135 Install a package in Suse-like systems - Ansible module zypper Lecture 136 Install Google Chrome in Suse-like systems - Ansible module rpm_key, zypper_repo Section 14: Ansible Playbook code for Windows Lecture 137 Configure a Windows Host for Ansible - ansible winrm Lecture 138 Test Windows host availability - Ansible module win_ping Lecture 139 Create an empty file in Windows-like systems - Ansible module win_file Lecture 140 Check if a file exists on Windows-like systems - Ansible module win_stat Lecture 141 Install Windows software - Ansible module win_chocolatey Lecture 142 Copy files to Windows remote hosts - Local to Remote - Ansible module win_copy Lecture 143 Copy files from Windows remote hosts - Ansible module fetch Lecture 144 Reboot Windows hosts Ansible module win_reboot Lecture 145 Install Google Chrome in Windows-like systems - Ansible module win_chocolatey Lecture 146 Extract an archive in Windows-like systems - Ansible module win_unzip Lecture 147 Download a file in Windows-like systems - Ansible module win_get_url Lecture 148 Create a directory on Windows-like systems - Ansible module win_file Lecture 149 Check if a directory exists on Windows-like systems - Ansible module stat Lecture 150 Check Registry .NET Framework version on Windows-like systems - Ansible module w Lecture 151 Rolling Update Windows-like systems - Ansible module win_updates Lecture 152 Add Windows Registry on Windows-like systems - Ansible module win_regedit Lecture 153 Remove Windows Registry path or key on Windows-like systems - Ansible module win Lecture 154 Create a local group on Windows-like systems - Ansible module win_group Lecture 155 Remove a local group on Windows-like systems - Ansible module win_group Lecture 156 Create a local user on Windows-like systems - Ansible module win_user Lecture 157 Remove a local user on Windows-like systems - Ansible module win_user Lecture 158 Change local user password on Windows-like systems - Ansible module win_user Lecture 159 Backup With Robocopy on Windows - Ansible module win_robocopy Lecture 160 Ansible modules - win_command vs win_shell Section 15: Ansible Playbook code for macOS-like systems Lecture 161 Install Red Hat OpenShift Local in MacOS (was CodeReady Containers) Lecture 162 Install Ansible for Mac Universal (Intel Chip and Apple Silicon) using Homebrew Lecture 163 Install Visual Studio Code for Mac Universal (Intel Chip and Apple Silicon) Section 16: Ansible Code For Containers Lecture 164 Install Docker in Debian-like systems - Ansible apt_key, apt_repository, apt Lecture 165 Install Docker in RedHat-like systems - Ansible rpm_key, yum_repository and yum Lecture 166 Install Docker in Windows-like systems - Ansible module win_chocolatey Lecture 167 Install Zoom flatpack in Debian-like systems - Ansible module flatpak Lecture 168 Install Zoom flatpak in RedHat-like systems - Ansible module flatpak Lecture 169 Update Zoom flatpak(s) in Linux systems - Ansible module command Lecture 170 Install Spotify snap in Debian-like systems - Ansible module snap Lecture 171 Install Spotify snap in RedHat-like systems - Ansible module snap Lecture 172 Setup Apache Web Server in a Docker Container for Debian-like systems - Ansible Lecture 173 Deploy Apache Web Server in a Podman Container for RedHat-like systems - Ansible Section 17: Ansible Code For Kubernetes K8s and OpenShift OCP Lecture 174 Install Red Hat CodeReady Containers to run OpenShift 4 in macOS Lecture 175 Create Kubernetes K8s or OpenShift OCP Namespace Project - Ansible module k8s Lecture 176 Create Kubernetes K8s or OpenShift OCP Namespace Project - Ansible module k8s Lecture 177 Create Kubernetes K8s or OpenShift OCP Pod - nginx - Ansible module k8s Lecture 178 Create Kubernetes K8s or OpenShift OCP service - Ansible module k8s Lecture 179 Create Kubernetes K8s or OpenShift OCP Secret - Ansible module k8s Lecture 180 Assign CPU Resources to Kubernetes K8s or OpenShift OCP Containers and Pods An Lecture 181 Assign Memory Resources to Kubernetes K8s or OpenShift OCP Containers and Pods - Lecture 182 Configure a Pod to Use a Volume for Storage - Ansible module k8s Lecture 183 Apply Multiple Yaml Files at Once on Kubernetes K8s or OpenShift OCP - Ansible m Section 18: Ansible For VMware Lecture 184 Configure Ansible for VMware - ansible collection community.vmware Lecture 185 Configure a Python Virtual Environment for Ansible VMware ansible collection c Lecture 186 Ansible troubleshooting - VMware Failed to Import PyVmomi Lecture 187 Ansible troubleshooting - VMware Unknown error while connecting to vCenter or ES Lecture 188 Ansible troubleshooting - VMware certificate verify failed connecting to vCenter Lecture 189 Create a VMware vSphere Virtual Machine - Ansible module vmware_guest Lecture 190 Deploy a VMware vSphere Virtual Machine from a Template - Ansible module vmware_ Lecture 191 Start a VMware vSphere Virtual Machine - Ansible module vmware_guest_powerstate Lecture 192 Stop a VMware vSphere Virtual Machine Ansible module vmware_guest_powerstate Lecture 193 Take a VMware Virtual Machine Snapshot - Ansible module vmware_guest_snapshot Lecture 194 Delete a VMware Virtual Machine Snapshot - Ansible module vmware_guest_snapshot Lecture 195 Add a New Hard Disk to VMware vSphere Virtual Machine - Ansible module vmware_gu Lecture 196 Expand a Virtual Disk in VMware vSphere Virtual Machine - Ansible module vmware_ Lecture 197 Ansible Dynamic Inventory For VMware - Ansible vmware_vm_inventory Lecture 198 Gather Info about all VMware ESX/ESXi Hosts in a given Cluster - Ansible module Lecture 199 Get VMware vSphere Virtual Machine UUID - Ansible module vmware_guest_info Section 19: Ansible for Network Automation Lecture 200 Backup Config on Dell EMC Networking Operating System DNOS 6 - Ansible Network d Lecture 201 Backup Config on Dell EMC Networking Operating System DNOS 10 - Ansible Network Lecture 202 Backup Config on Mikrotik RouterOS - Ansible Network community.routeros Section 20: Ansible For AWS Lecture 203 Configure Ansible for AWS - ansible collection amazon.aws Lecture 204 Configure a Python Virtual Environment for Ansible AWS - ansible collection amaz Lecture 205 Search for AWS EC2 AMI ID by Region - Ansible module ec2_ami_info Lecture 206 Ansible troubleshooting - AWS Failed to import the required Python library (boto Section 21: Ansible For PostgreSQL Lecture 207 Install PostgreSQL in RedHat-like systems - Ansible modules yum, stat, shell, se Lecture 208 Install PostgreSQL in Debian-like systems - Ansible modules apt, stat, shell, se Lecture 209 Drop a PostgreSQL Database - Ansible module postgresql_user Lecture 210 Create a PostgreSQL Database - Ansible module postgresql_db Lecture 211 Create a PostgreSQL User or Role - Ansible module postgresql_user Lecture 212 Allow md5 Connection for a PostgreSQL User / Role - Ansible module postgresql_pg Lecture 213 Grant Privileges to User/Role on PostgreSQL Database - Ansible module postgresql Lecture 214 Backup a PostgreSQL Database - Ansible module postgresql_db Lecture 215 Restore a PostgreSQL Database Ansible module postgresql_db Lecture 216 Rename a PostgreSQL Database Ansible module postgresql_db Lecture 217 Run a SQL Command/Query on PostgreSQL - Ansible module postgresql_query Section 22: Ansible Troubleshooting of the most common errors Lecture 218 Ansible troubleshooting - Failed to connect to the host via ssh host localhost p Lecture 219 Ansible troubleshooting - indentation error Lecture 220 Ansible troubleshooting - privilege escalation error Lecture 221 Ansible troubleshooting - connection failed Lecture 222 Ansible troubleshooting - macOS fork error Lecture 223 Ansible troubleshooting - missing module parameter Lecture 224 Ansible troubleshooting - failure downloading Lecture 225 Ansible troubleshooting - chgrp failed Lecture 226 Ansible troubleshooting - Syntax Error Lecture 227 Ansible troubleshooting - not a valid attribute for a Play error Lecture 228 Ansible troubleshooting - fatal template error while templating string Lecture 229 Ansible troubleshooting - PowerShell incompatible with the sudo become plugin Lecture 230 Ansible troubleshooting - passwordless account Lecture 231 Ansible troubleshooting - missing sudo password and incorrect sudo password Lecture 232 Ansible troubleshooting - user module password_expiry_min bug and workaround Lecture 233 Ansible troubleshooting - Windows 10 Error 0x80370102 WSL: WindowsSubsystemLinux Lecture 234 (Solved) Windows 11 Error 0x80370102 WSL: Windows Subsystem for Linux - Ansible Lecture 235 Ansible troubleshooting - invalid argument Lecture 236 Ansible troubleshooting - undefined variable Lecture 237 Ansible troubleshooting - Destination does not exist Lecture 238 Ansible troubleshooting - the "role not found" error Lecture 239 Ansible troubleshooting - Module Failure on Windows-target Lecture 240 Ansible troubleshooting - Permission denied Errno 13 Lecture 241 Ansible troubleshooting - VARIABLE IS NOT DEFINED! ansible_hostname Lecture 242 Ansible troubleshooting - Unhandled exception while executing module win_user Lecture 243 Ansible troubleshooting - This command has to be run under the root user Lecture 244 Ansible troubleshooting - Kubernetes K8s or OpenShift OCP 401 Unauthorized Lecture 245 Ansible troubleshooting - Destination does not exist rc 257 Section 23: Thank you Lecture 246 Thank you System Administrator,IT Professional,Cloud Engineer,DevOps,Linux Engineer Homepage Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now