We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

Automation with Ansible Playbooks - Hands On !!

Shikhar Verma • 80k+ Students Worldwide

Mastering Ansible Step by Step

Course Contents

1 Introducing Ansible

Read more

Mastering Ansible Step by Step

Course Contents

1 Introducing Ansible

  • Overview of Ansible Architecture

  • Ansible Components

  • Overview of Ansible Deployments

  • Describing Ansible Inventory

  • Summary

2 Deploying Ansible

  • Installing Ansible

  • Guided Exercise: Installing Ansible

  • Managing Ansible Configuration Files

  • Guided Exercise: Managing Ansible Configuration Files

  • Running Ad Hoc Commands

  • Guided Exercise: Running Ad Hoc Commands

  • Managing Dynamic Inventory

  • Guided Exercise: Managing Dynamic Inventory

  • Lab: Deploying Ansible

  • Summary

3 Ansible Installation on Red Hat Linux 8

  • Overview of Ansible Installation

  • Online Ansible Installation

  • User's Account Setup for Passwordless Authentication

  • Offline Ansible Installation ( When there is no internet available on Control Node )

4 Implementing Playbooks

  • Writing YAML Files

  • Guided Exercise: Writing YAML Files

  • Implementing Modules

  • Guided Exercise: Implementing Modules

  • Implementing Ansible Playbooks

  • Guided Exercise: Implementing Ansible Playbooks

  • Lab: Implementing Playbooks

  • Summary

5 Managing Variables and Inclusions

  • Managing Variables

  • Guided Exercise: Managing Variables

  • Managing Facts 

  • Guided Exercise: Managing Facts

  • Managing Inclusions

  • Guided Exercise: Managing Inclusions

  • Lab: Managing Variables and Inclusions 

6 Implementing Task Control

  • Constructing Flow Control

  • Guided Exercise: Constructing Flow Control

  • Implementing Handlers

  • Guided Exercise: Implementing Handlers

  • Implementing Tags

  • Guided Exercise: Implementing Tags

  • Handling Errors

  • Guided Exercise: Handling Errors

  • Lab: Implementing Task Control

  • Summary

7. Ansible Roles

  • About Ansible Roles

  • How do we create Ansible Roles

  • Lab Session to create roles

8. Industrial project to Automate Patching on Multiple Linux Server using Ansible Playbook

  • Overview about Linux Patching

  • Automate Linux Patching using Ansible

  • Verify application/Database processes are running or not

  • Decision point to start patching

  • Upgrade all the packages on the server

  • Check if reboot required after the kernel update

  • Install the specific kernel version using Ansible Playbook.

  • Various Labs to understand the Ansible Playbook for patching

9. Industrial project for Stop/Start Control M appl/db

  • Overview of project

  • Designing of Ansible playbooks 

  • Lab Sessions

10.  Create Automation tool using Ansible & Shell

  • Overview of Automation Tool

  • Concept of Automation Tool

  • Communication between Ansible Server with managed hosts

  • Front look of Automation Tool

  • What we are achieving from this Automation tool.

  • Pre-validation Configuration (To capture pre-change configuration details)

  • User Administration

       1. User Creation       2. User Removal       3. Group Add       4. Password Reset

  • Run Ad Hoc Command

  • Health Check Statistics

      1. Memory Utilization      2. CPU Utilization      3. Overall I/O Activities      4. Reports run queue and load average      5. Top Memory Consuming processes      6. Top CPU Consuming Processes      7. Shared Memory

  • Design of Automation Tool

  • Design Front Look using case statement

  • Practice Lab Session on case Statement -1

  • Practice Lab Session on case Statement -2

  • Color Fonts in desinging the tool

  • Headline & Selecting the target servers

  • Lab sessions

  • Shell Scripting

      1. If..else..elif statement      2. Loops      3. Sed – Stream Editot      4. Awk

  • The case esac statement

  • Last lecture

Enroll now

What's inside

Learning objectives

  • Introducing ansible-overview of ansible architecture
  • Implementation of ansible playbooks
  • Automate linux patching using ansible
  • Project labs to gain a better understanding of using ansible playbooks for patching linux servers
  • Managing variables & inclusions
  • Various labs on implementing playbooks from a real it industry environment
  • Gain sufficient skills to perform core system administration automation
  • Implementing tasks controls
  • Overview of ansible installation
  • Online/offline ansible installation
  • Ansible conditionals
  • Ansible modules
  • Industrial live overview of automation tool using ansible with shell scripting
  • Ansible handlers
  • Ansible loops
  • Deploying ansible
  • Writing yaml files
  • Ansible roles
  • How do we create ansible roles?
  • Industrial project of stop/start control m appl/db
  • Show more
  • Show less

Syllabus

Introduction
Introduction Ansible
What is Ansible
Ansible limitations
Read more
Ansible Architecture
Ansible Setup
Lab Practice Session
Recap

Sure! Here is a set of multiple-choice questions (MCQs) on the topic of "Introduction to Ansible"

Control Node Components, Roles & requirements for control & Managed Nodes
Ansible Control Node Components
Control & Managed Node
Ansible Inventories

Sure! Here's a set of multiple-choice questions (MCQs) on the topic of Ansible Control Node Components.

Offline Installation(No Internet Connection) and Online Installation of Ansible
Ansible Installation - Lab 1
Ansible Installation - Lab 2
Ansible Installation - Lab 3
Ansible Installation - Lab 4

Sure! Here's a set of multiple-choice questions (MCQs) on the topic of Ansible Setup.

Understanding Ansible's configuration file (/etc/ansible/ansible.cfg) and its different Sections
Customize Ansible's behavior
Lab Session on Privilege Escalations

Sure! Here's a set of multiple-choice questions (MCQs) on the topic of "Customizing Ansible Behavior".

Project Lab: Customizing Ansible's Behavior using /etc/ansible/ansible.cfg
Understanding Ad Hoc Commands and Their Different Attributes
Practice Lab Session - 1
Practice Lab Session - 2
Practice Lab Session - 3
Command & Shell Module Differences

Set of MCQ on topic Running AD Hoc Commands.


Project Lab: Ad Hoc Commands in Ansible
Implementing Playbooks
Lab-Implementing Playbooks
Playbook for copying a file
Lab - Copy a file with conditions

Here's a set of multiple-choice questions (MCQs) on the topic of "Implementing Playbooks in Ansible"

Project: Implementing Playbooks in Ansible
Modules in Ansible
Introduction of Modules in Ansible
Lab-Invoking Modules
Idempotent Behaviour of Modules
Lab-Idempotent Behaviour of Modules

Here's a set of multiple-choice questions (MCQs) on the topic of "Modules in Ansible"

Lab Project: Exploring Modules in Ansible
Implementing Multi tasks in Playbook
Multiple tasks in Ansible Playbook
Lab - Multi task Playbook - 1
Lab - Multi task Playbook - 2
Syntax Verification & Dry Check for Ansible Playbook
Apache Web Server Installation - 1
Apache Web Server Installation - 2
Apache Web Server Installation - 3

Here's a set of multiple-choice questions on the topic of multi-tasks in Ansible playbooks.

Project Lab: Implementing Multi-Tasks in Ansible Playbook
Managing Variables in Ansible
Lab-Managing Variables
Hosts & Group variables
Lab on Host & Group Variables
Lab on Variables
Ansible Facts

Here's a set of multiple-choice questions on the topic "Managing Variables in Ansible":


Lab Project: Variables in Ansible
Ansible loops, Conditions, Handlers etc
Conditionals in Ansible
Lab on Conditionals in Ansible
Ansible loops - when, when_items etc
Examples of Ansible Loops
Ansible Handlers
Lab on Ansible Handlers

Multiple Choice Questions (MCQ) on Implementing Task Control in Ansible.

Ansible Roles
About Ansible Roles
Create Ansible Roles
Lab - 1
Lab - 2
Students should be able to understand how to automate patching tasks on mulitple linux servers using ansible playbook
Overview about Patching on Linux Server
Lab 1 - Patching using Ansible playbook
Lab 2 - Patching using Ansible playbook
Lab 3 - Patching using Ansible playbook
Lab 4 - Patching using Ansible playbook
Lab 5 - Patching using Ansible playbook
Lab 6 - Patching using Ansible playbook
Lab 7 - Patching using Ansible playbook
In this project, we have to automate certain control M stop/start scripts using ansible playbook
Lec - 1
Lec - 2
Lec - 3
Lec - 4
Lec - 5
Lec - 6
Lec - 7
Create Automation Tool Using Ansible, Shell
Introudction
Concept of Automation tool
Front Look of Automation tool
Setup Environment

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Covers a wide range of topics, including Ansible architecture, components, deployments, and inventories
Provides clear instructions and examples for implementing Ansible playbooks, modules, and variables
Includes hands-on projects for automating Linux patching, stopping/starting Control M applications and databases, and creating automation tools
Offers interactive labs and practice exercises to reinforce learning
Taught by an experienced instructor with over 80k students worldwide
Has a strong emphasis on practical applications and real-world examples

Save this course

Save Automation with Ansible Playbooks - Hands On !! to your list so you can find it easily later:
Save

Reviews summary

Average course with some issues

According to students, this course on automating with Ansible Playbooks has some good qualities and some less good qualities. Reviewers say that the course content itself is solid and provides good knowledge and practical experience on the subject matter. However, some students complain that the course had production issues where the videos would occasionally have problems with sound or display.
Provides good knowledge and practical experience.
"The course itself is very good and gives a good insight in Ansible."
May have occasional issues with sound or display.
"On the other hand, some videoes had some render issues and the sound goes from high to low."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Automation with Ansible Playbooks - Hands On !! with these activities:
Attend industry meetups and conferences on Ansible
Connect with industry professionals and learn about the latest Ansible trends and best practices.
Browse courses on Ansible
Show steps
  • Research upcoming Ansible events in your area.
  • Register for and attend the events.
  • Network with attendees and speakers.
Review foundational networking and routing topics
Review the foundational concepts of networking and routing to enhance your understanding of the course materials.
Show steps
  • Read chapters 1-3 of the textbook.
  • Take notes on key concepts and terminologies.
  • Complete the practice exercises at the end of each chapter.
Solve Ansible practice exercises
Reinforce your understanding of Ansible concepts and syntax through practice exercises.
Browse courses on Ansible
Show steps
  • Join an online coding platform.
  • Search for Ansible practice exercises.
  • Solve the exercises and review solutions.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Practice Ansible module usage
Enhance your understanding and proficiency in using Ansible modules through guided tutorials.
Browse courses on Configuration Management
Show steps
  • Enroll in an online tutorial platform.
  • Select tutorials that cover essential Ansible modules.
  • Follow the tutorials step-by-step.
  • Practice using the modules in your own Ansible playbooks.
Participate in hands-on Ansible workshops
Gain practical experience with Ansible through structured hands-on workshops.
Browse courses on Ansible
Show steps
  • Find Ansible workshops offered by training providers or industry groups.
  • Register for and attend a workshop.
  • Follow along with the workshop exercises and build your own Ansible projects.
Develop an Ansible playbook to automate server patching
Apply your knowledge of Ansible playbooks by creating a practical solution for automating server patching.
Browse courses on Ansible Playbooks
Show steps
  • Identify the target servers and patching requirements.
  • Design the Ansible playbook structure and tasks.
  • Write the playbook using YAML syntax.
  • Test and debug the playbook.
  • Deploy the playbook to automate server patching.
Configure and manage a multi-tier web application using Ansible
Deepen your understanding of Ansible by applying it to a real-world project involving web application management.
Browse courses on Ansible
Show steps
  • Plan the application architecture and infrastructure.
  • Install and configure the required components (web server, database, etc.).
  • Write Ansible playbooks to automate the deployment and management of the application.
  • Test and debug the Ansible playbooks.
  • Deploy and manage the application using Ansible.

Career center

Learners who complete Automation with Ansible Playbooks - Hands On !! will develop knowledge and skills that may be useful to these careers:
Cloud Architect
A Cloud Architect designs and manages cloud computing systems. They work with a variety of cloud technologies, including AWS, Azure, and GCP. A strong understanding of cloud computing concepts and technologies is essential for success in this role. The course can help build a foundation in these areas.
DevOps Engineer
A DevOps Engineer works to bridge the gap between development and operations. They help to automate and streamline the software development process. A strong understanding of both development and operations technologies and practices is essential for success in this role. The course can help build a solid foundation in these areas.
Software Engineer
A Software Engineer designs, develops, and maintains software applications. They work with a variety of programming languages and technologies. A strong understanding of software engineering principles and practices is essential for success in this role. The course can help build a foundation in these areas.
Cloud Security Engineer
A Cloud Security Engineer designs and manages security for cloud computing systems. They work with a variety of cloud security technologies and practices. A strong understanding of cloud security concepts and technologies is essential for success in this role. The course can help build a foundation in these areas.
Security Engineer
A Security Engineer designs and manages security for computer systems and networks. They work with a variety of security technologies and practices. A strong understanding of security concepts and technologies is essential for success in this role. The course can help build a foundation in these areas.
Data Engineer
A Data Engineer designs and manages big data systems. They work with a variety of data technologies, including Hadoop, Spark, and NoSQL databases. A strong understanding of data engineering concepts and technologies is essential for success in this role. The course can help build a foundation in these areas.
Network Architect
A Network Architect designs, builds, and maintains computer networks. They work with a variety of technologies, including routers, switches, firewalls, and cabling. A strong understanding of networking technologies and protocols is essential for success in this role. The course can lay a solid conceptual foundation in these areas.
Machine Learning Engineer
A Machine Learning Engineer designs and develops machine learning models. They work with a variety of machine learning algorithms and techniques. A strong understanding of machine learning concepts and technologies is essential for success in this role. The course may be helpful for those who are new to machine learning or who want to brush up on their skills.
Systems Analyst
A Systems Analyst designs and develops computer systems. They work with a variety of technologies, including hardware, software, and databases. A strong understanding of systems analysis and design principles is essential for success in this role. The course can help build a foundation in these areas.
Systems Engineer
A Systems Engineer designs, deploys, and maintains computer systems. They work with a variety of hardware and software technologies, including servers, storage, and operating systems. A strong understanding of systems administration and networking is essential for success in this role. The course can help build a foundation in these areas.
Data Scientist
A Data Scientist uses data to solve business problems. They work with a variety of data analysis and machine learning techniques. A strong understanding of data science concepts and technologies is essential for success in this role. The course may be helpful for those who are new to data science or who want to brush up on their skills.
Network Engineer
A Network Engineer is responsible for the day-to-day operation of a computer network. They monitor and troubleshoot network problems, and perform maintenance and upgrades. A strong understanding of networking technologies and protocols is essential for success in this role. The course can be particularly helpful for those who are new to networking or who want to brush up on their skills.
IT Manager
An IT Manager is responsible for the overall management of an organization's IT systems. They oversee the planning, budgeting, and implementation of IT projects. A strong understanding of IT technologies and management principles is essential for success in this role. The course may be helpful for those who are new to IT management or who want to brush up on their skills.
IT Auditor
An IT Auditor reviews and evaluates an organization's IT systems and controls. They work to ensure that these systems and controls are in compliance with regulations and standards. A strong understanding of IT auditing concepts and practices is essential for success in this role. The course may be helpful for those who are new to IT auditing or who want to brush up on their skills.
IT Consultant
An IT Consultant provides advice and guidance to organizations on IT-related issues. They work with a variety of clients to help them solve their IT challenges. A strong understanding of IT technologies and business principles is essential for success in this role. The course may be helpful for those who are new to IT consulting or who want to brush up on their skills.

Reading list

We've selected nine books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Automation with Ansible Playbooks - Hands On !!.
Provides a comprehensive guide to using Python for automating tasks. It valuable resource for anyone who wants to learn more about Python and its capabilities.
Provides a comprehensive guide to DevOps. It covers a wide range of topics, from the basics of DevOps to advanced techniques.
Provides a comprehensive guide to infrastructure as code. It covers a wide range of topics, from the basics of infrastructure as code to advanced techniques.
Provides a comprehensive guide to site reliability engineering. It covers a wide range of topics, from the basics of site reliability engineering to advanced techniques.
Provides a comprehensive overview of Ansible, covering topics such as how to use Ansible to automate DevOps and SRE tasks. It good resource for DevOps and SRE engineers who want to learn how to use Ansible to automate their tasks.
Provides a comprehensive guide to software release management. It covers a wide range of topics, from the basics of software release management to advanced techniques.
Provides a hands-on introduction to Ansible, covering the basics of Ansible architecture, playbooks, and modules. It good starting point for beginners who want to learn the fundamentals of Ansible.
Provides a comprehensive overview of Ansible playbooks, covering topics such as writing, testing, and deploying playbooks. It valuable resource for beginners who want to learn how to use playbooks to automate their infrastructure management tasks.
Novel that tells the story of a team of IT professionals who are trying to implement DevOps. It great way to learn about the challenges and benefits of DevOps.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Automation with Ansible Playbooks - Hands On !!.
Linux Administration with Ansible: Getting Started with...
Most relevant
Fundamentals of Ansible
Most relevant
Ansible Basics & Installing WordPress on LAMP with...
Most relevant
Master Network Automation with Python for Network...
Most relevant
Linux Administration with Ansible: Advanced Ansible...
Most relevant
CompTIA Linux+: Scripting, Containers, and Automation
Most relevant
CompTIA Linux+: Scripting, Containers, and Automation
Most relevant
Automating Container Management with Ansible
Most relevant
Ansible for Network Automation
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser