Upgrade Your Career with Exciting Offers on our Career-defining Courses Upto 50% OFF | Offer ending in:
D H M S Grab Now
X

All Self Learning > Ansible Automation Self Learning with Example & Practical Lessons

Ansible Automation Self Learning with Example & Practical Lessons 29 hours on-demand video | HD 1080

Learn Ansible Automation with InfosecTrain

101 Students Enrolled
Watch Preview

Benefits of Self-paced Learning

Flexible learning time and place
Revisit any concept at any given time
Learn from the industry experts over the world
Get course completion certificate
$ 12 $ 99   88 % off
Start Learning
  • 29 hours on-demand video
  • Access on mobile and TV
  • Certificate of completion

Course Description

Automation is now required for bare metal servers, virtual machines, containers, and edge computing in any successful IT organization. With Ansible automation technology, you can automate your IT journey.

You’ll begin by utilizing the most common command package manager and archives to install Ansible on RedHat Enterprise Linux, Ubuntu, and macOS.

The Ansible online self-learning course outlines all the modules, starting with the most significant parameter and ending with a live code sample and real-world application. Each code has been battle-tested in the real world. Every video includes console interaction and verification. A simple task like producing a text file, extracting and archiving, or requesting a repository via HTTPS or SSH connections may all be automated with a few lines of code, and these are just a few of the many examples covered in this self-paced learning course.

Some Ansible scripts are applicable to all Linux systems, while others are exclusive to RedHat-like, Debian-like, and Windows systems.

The Ansible Automation self-learning course will show you how to understand error messages, recreate them, then troubleshoot and resolve them.

What you'll learn

  • Real-life use cases of Ansible
  • Troubleshooting in Ansible of the most common issues
  • Installation of Ansible in common operating systems
  • Module-based Ansible code
  • Ansible code tailored to RedHat and Debian-based systems

Target Audience

  • System Administrator
  • IT Professional
  • Cloud Engineer
  • DevOps

Pre-requisites

  • Basic knowledge of Ansible

Course content

181 lectures • 29 hours total length

Install Ansible
  • Ansible Terminology – Ansible vs Ansible Core packages
  • How to install Ansible in Redhat Enterprise Linux 8
  • How to install Ansible in Amazon Linux 2 (AWS EC2)
  • How to install Ansible in Fedora 34
  • How to install Ansible in Ubuntu 20.04 LTS
  • How to install Ansible in Ubuntu 21.10
  • How to install Ansible in Fedora 35
  • How to install Ansible in CentOS 8
  • How to install Ansible in CentOS Stream 8
  • How to install Ansible in CentOS 9 Stream
  • How to install Ansible in Debian 11
  • How to install Ansible in OpenSUSE Leap 15
  • How to install Ansible in Rocky Linux 8
  • How to install Ansible in macOS
  • How to install Ansible with PIP
  • How to install Ansible in Windows 10 WSL Windows Subsystem for Linux
  • How to install Ansible in Windows 11 WSL: Windows Subsystem for Linux
  • How to install Ansible in ArchLinux 2021.12.01
  • How to install Ansible in Gentoo Linux
  • How to install Ansible in AlmaLinux 8
  • How to install Ansible in Oracle Linux 8 – Ansible install
  • How to install Ansible in SUSE Linux Enterprise Server (SLES) 15 SP3
  • How to install Ansible in RedHat Enterprise Linux 9 Beta
Ansible Tips And Tricks
  • Print a text/variable during execution – Ansible module debug
  • Pause execution – Ansible module pause
  • How to Pass Variables to Ansible Playbook in the command line? – Ansible extra
  • Break a string over multiple lines – Ansible Literal and Folded Block Operator
  • Ansible terminology – ansible_hostname vs inventory_hostname
  • Set remote environment per task or play – Ansible environment statement
  • Execute command on the Ansible host – Ansible localhost
  • Three options to Safely Limit Ansible Playbooks Execution to a Single Machine
  • Ansible modules – command vs shell
Ansible playbook code for Linux
  • Edit single line text – Ansible module lineinfile
  • Edit multi-line text – Ansible module blockinfile
  • Test host availability – Ansible module ping
  • Reboot remote hosts – Ansible module reboot
  • Checkout git repository via SSH – Ansible module git
  • Checkout git repository via HTTPS – Ansible module git
  • Copy files from remote hosts – Remote to Local – Ansible module fetch
  • Copy files to remote hosts – Local to Remote – Ansible module copy
  • Copy Multiple Files – Ansible lookup plugin fileglob
  • Start and enable services on boot on remote hosts – Ansible module service_facts
  • Stop and disable services on boot on remote hosts – Ansible module service
  • Apply a file template – Ansible module template
  • Restart services on remote hosts – Ansible module service
  • Schedule a Cron Job task in Linux – Ansible module cron
  • Loop in file template – Ansible module template – Generate hosts file
  • Read file from remote hosts – Ansible module slurp
  • Read a file into a variable on host – Ansible lookup plugin file
  • Download a file using an HTTPS proxy via environment variables – Ansible get_url
  • Read an environment variable – Ansible lookup plugin env
  • Permanently Set Remote System Wide Environment Variables on Linux – Ansible line
Ansible Code Reuse – Roles And Collections with Ansible Galaxy
  • How to Download and Use Ansible Galaxy Roles — ansible-galaxy and requirements
  • Download and Use Ansible Galaxy Collection – ansible-galaxy and requirements.yml
Ansible code to interact with Linux File System
  • Create an empty file – Ansible module file
  • Create a text file – Ansible module copy
  • Check if a file exists – Ansible module stat
  • Create a directory – Ansible module file
  • Check if a directory exists – Ansible module stat
  • Rename file or directory – Ansible module copy and file
  • Change File Permission – Ansible Module File
  • Add Execute Permission 755 on Linux file — Ansible module file
  • Delete file or directory – Ansible module file
  • Create a symbolic link (also symlink or soft link) in Linux -Ansible module file
  • Create a hard link in Linux – Ansible module file
  • Download a file – Ansible module get_url
  • Extract an archive – Ansible module unarchive
  • Mount a Windows share in Linux SMB/CIFS – Ansible module mount
  • Mount an NFS share in Linux – Ansible module mount
  • Concatenate multiple files in a specific order – Ansible module template and YAM
  • Backup With Rsync — Local to Remote — Ansible module synchronize
Ansible code for User Management in Linux Systems
  • Create a user account – Ansible module user
  • Remove user account – Ansible module user
  • Change user password – Ansible module user
  • Disable User Account – Ansible module user
  • Enable user account – Ansible module user
  • User password expiration – Ansible module user
  • Create a group in Linux – Ansible module group
  • Delete a group – Ansible module group
  • Add a User to a Second Group on Linux – Ansible module user
  • Change the User Primary Group on Linux – Ansible module user
Ansible Playbook Code Interact With Web Services API
  • Submit a GET request to a REST API endpoint – Interact with web services – uri
  • Token Based Authentication in REST API – Interact with webservice – Ansible uri
Ansible playbook code for Linux Security
  • Set sysctl kernel parameters – Ansible module sysctl
  • Load and Unload Kernel Modules in Linux – Ansible module modprobe
  • Configure Kernel Parameters in RedHat-like Linux systems – Ansible system role
  • Set the SELinux Policy States and Modes on Linux – Ansible module selinux
  • Enable or Disable Permissive Domain in SELinux policy on Linux – Ansible module
  • Enable or Disable SELinux Boolean on Linux – Ansible module seboolean
  • Vulnerability Scanner Log4Shell Remote Code Execution Log4j (CVE-2021–44228)
  • How to mitigrate Polkit Privilege Escalation – PWNKIT (CVE-2021-4034) on RedHat
Ansible playbook code for Red hat like Systems
  • Register a system with Red Hat Subscription-Manager – Ansible module redhat_subs
  • Install a package in RedHat like systems – Ansible module yum
  • Deploy a web server apache httpd on RedHat-like systems – Ansible modules yum, c
  • Rolling Update RedHat like systems – Ansible module yum
  • Open firewall ports in RedHat like systems – Ansible module firewalld
  • Install Google Chrome in RedHat-like systems – Ansible module rpm_key, yum_repos
  • Install Microsoft Edge in RedHat-like systems – Ansible module rpm_key, yum_repo
  • NFS Server – Export an NFS Share in RedHat-like systems – six Ansible modules
  • Deploy a proxy server squid on RedHat-like systems – Ansible modules yum, templa
  • Deploy a web server apache httpd virtual host on RedHat-like systems – Ansible
Ansible playbook code for Debian Like Systems
  • Install a package in Debian like systems – Ansible module apt
  • Rolling Update Debian-like systems – Ansible module apt
  • Open firewall ports in Debian like systems – Ansible module ufw
  • Install Google Chrome in Debian-like systems – Ansible module apt_key, apt_repos
  • Install Microsoft Edge in Debian-like systems – Ansible module apt_key, apt_repo
  • Deploy a web server apache httpd on Debian-like systems – Ansible modules apt, c
  • Deploy a web server apache httpd virtual host on Debian-like systems – Ansible m
Ansible code for Suse Like Systems
  • Install a package in Suse-like systems – Ansible module zypper
  • Install Google Chrome in Suse-like systems – Ansible module rpm_key, zypper_repo
Ansible playbook code for Windows
  • Configure a Windows Host for Ansible – ansible winrm
  • Test Windows Host Avaibility – Ansible Module win_ping
  • Create an empty file in Windows-like systems – Ansible module win_file
  • Check if a file exists on Windows-like systems – Ansible module win_stat
  • Install Windows software – Ansible module win_chocolatey
  • Copy files to Windows remote hosts – Local to Remote – Ansible module win_copy
  • Copy files from Windows remote hosts – Ansible module fetch
  • Reboot Windows hosts Ansible module win_reboot
  • Install Google Chrome in Windows-like systems – Ansible module win_chocolatey
  • Extract an archive in Windows-like systems – Ansible module win_unzip
  • Download a file in Windows-like systems – Ansible module win_get_url
  • Create a directory on Windows-like systems – Ansible module win_file
  • Check if a directory exists on Windows-like systems – Ansible module stat
  • Check Registry .NET Framework version on Windows-like systems – Ansible module w
  • Rolling Update Windows-like systems – Ansible module win_updates
  • Add Windows Registry on Windows-like systems – Ansible module win_regedit
  • Remove Windows Registry path or key on Windows-like systems – Ansible module win
  • Create a local group on Windows-like systems – Ansible module win_group
  • Remove a local group on Windows-like systems – Ansible module win_group
  • Create a local user on Windows-like systems – Ansible module win_user
  • Remove a local user on Windows-like systems – Ansible module win_user
  • Change local user password on Windows-like systems – Ansible module win_user
  • Backup With Robocopy on Windows – Ansible module win_robocopy
  • Ansible modules – win_command vs win_shell
Ansible code for Containers
  • Install Docker in Debian-like systems – Ansible apt_key, apt_repository, apt
  • Install Docker in RedHat-like systems – Ansible rpm_key, yum_repository and yum
  • Install Docker in Windows-like systems – Ansible module win_chocolatey
  • Install Zoom flatpack in Debian-like systems – Ansible module flatpak
  • Install Zoom flatpak in RedHat-like systems – Ansible module flatpak
  • Update Zoom flatpak(s) in Linux systems – Ansible module command
  • Install Spotify snap in Debian-like systems – Ansible module snap
  • Install Spotify snap in RedHat-like systems – Ansible module snap
  • Setup Apache Web Server in a Docker Container for Debian-like systems – Ansible
  • Deploy Apache Web Server in a Podman Container for RedHat-like systems – Ansible
Ansible code for Kubernetes K8s and OpenShift OCP
  • Install Red Hat CodeReady Containers to run OpenShift 4 in macOS
  • Create Kubernetes K8s or OpenShift OCP Namespace Project – Ansible module k8s
  • Create Kubernetes K8s or OpenShift OCP Namespace Project – Ansible module k8s
  • Create Kubernetes K8s or OpenShift OCP Pod – nginx – Ansible module k8s
  • Create Kubernetes K8s or OpenShift OCP service – Ansible module k8s
  • Create Kubernetes K8s or OpenShift OCP Secret – Ansible module k8s
  • Assign CPU Resources to Kubernetes K8s or OpenShift OCP Containers and Pods — An
  • Assign Memory Resources to Kubernetes K8s or OpenShift OCP Containers and Pods
  • Configure a Pod to Use a Volume for Storage – Ansible module k8s
Ansible troubleshooting of the most common errors
  • Ansible troubleshooting – indentation error
  • Ansible troubleshooting – privilege escalation error
  • Ansible troubleshooting – connection failed
  • Ansible troubleshooting – macOS fork error
  • Ansible troubleshooting – missing module parameter
  • Ansible troubleshooting – failure downloading
  • Ansible troubleshooting – chgrp failed
  • Ansible troubleshooting – Syntax Error
  • Ansible troubleshooting – not a valid attribute for a Play error
  • Ansible troubleshooting – fatal template error while templating string
  • Ansible troubleshooting – PowerShell incompatible with the sudo become plugin
  • Ansible troubleshooting – passwordless account
  • Ansible troubleshooting – missing sudo password and incorrect sudo password
  • Ansible troubleshooting – user module password_expiry_min bug and workaround
  • Ansible troubleshooting – Windows 10 Error 0x80370102 WSL: WindowsSubsystemLinux
  • (Solved) Windows 11 Error 0x80370102 WSL: Windows Subsystem for Linux – Ansible
  • Ansible troubleshooting – invalid argument
  • Ansible troubleshooting – undefined variable
  • Ansible troubleshooting – Destination does not exist
  • Ansible troubleshooting – the “role not found” error
  • Ansible troubleshooting – Module Failure on Windows-target
  • Ansible troubleshooting – Permission denied Errno 13
  • Ansible troubleshooting – VARIABLE IS NOT DEFINED! ansible_hostname
  • Ansible troubleshooting – Unhandled exception while executing module win_user
  • Ansible troubleshooting – This command has to be run under the root user
  • Ansible troubleshooting – Kubernetes K8s or OpenShift OCP 401 Unauthorized
$ 12 $ 99   88 % off
Start Learning
  • 29 hours on-demand video
  • Access on mobile and TV
  • Certificate of completion

Instructor

Frequently Asked Questions

How long will I get access to the course?
Once you purchase the course, you can access for 365days
Can I download the videos?
No, you cannot download the videos
How Self-paced Learning Work?
  • Step 1: Enroll into the Course
  • Step 2: Receive the LMS credentials in your registered email ID
  • Step 3: After course completion, Fill the feedback form
  • Step 4: You will receive your Self-paced Learning course completion certification within 3-4 days
How can I resolve any queries?
Our sales executives will help you resolve your queries. You can connect them at our numbers:
Call: IND: 1800-843-7890 / US: +1 657-722-11127 / UK : +44 7451 208413 / UAE: +971 564 23 6252
or send an email at sales@infosectrain.com
Who should opt for a self-paced course?
Self-paced courses are available to anyone who wants to learn but is unable to enroll in an instructor-led course. A self-paced course is an option if you prefer to learn at your own leisure.
What is Ansible automation technology?

Ansible is an open-source IT automation engine that automates IT activities like provisioning, configuration management, application deployment, orchestration, and more.

What is Ansible in DevOps?

Ansible is a configuration management and orchestration tool that is both easy and powerful. Ansible is mostly used for cross-platform computer support automation.

Is Ansible automation free?

Ansible is a free, open-source technology that’s easy to set up and use. Ansible’s playbooks don’t require any coding experience.

Is there a licensing need for Ansible?

Ansible Tower requires a license to run, although there is no charge for a trial license. A trial license or an evaluation of Tower Software does not include support.

Related Courses

  • SC-300: Microsoft Identity & Access Administrator Self Learning Course

    12 99   88% off
    • 245 lectures in HD 1080
    • 13 hours on-demand video
    • Access on mobile and TV
    • Certificate of completion
    View Details
  • SC-200 : Microsoft Security Operations Analyst Self Learning Course

    12 99   88% off
    • 200 lectures in HD 1080
    • 13 hours on-demand video
    • Access on mobile and TV
    • Certificate of completion
    View Details
  • SC-900 : Microsoft Security,Compliance & Identity Fundamentals Self Learning

    12 99   88% off
    • 151 lectures in HD 1080
    • 7.5 hours on-demand video
    • Access on mobile and TV
    • Certificate of completion
    View Details
  • Industrial espionage-HUMINT-SIGINT-OPSINT-OSINT Self Learning

    12 99   88% off
    • 2.5 hours on-demand video
    • Access on mobile and TV
    • Certificate of completion
    View Details
TOP