
Hello and Welcome!
Thank you for enrolling in my course on Ansible, in this lecture we will go over the contents of this course and i will tell you a bit about myself.
I have a attached a link to the LabIT repository for this course with this lecture, this has all the playbooks we have used in this course and some more. Please feel free to download.
In today's complex organizations automation is a must, in this lecture, i will go over some basics of automation.
DevOps as a practice is gaining attraction today, in this lecture, i will give you an overview of DevOps principles.
In this lecture, i will give you an overview of configuration management.
In this lecture, i will explain pull vs push based configuration architecture.
In this lecture, i will give you an overview of Ansible.
YAML is the language which is used to write Ansible playbooks, in this lecture, i will explain some basics of YAML.
In this section, we will set up our lab which we will use for the duration of this course.
Virtualbox is an open source virtualization software, we will use install Virtual box over Windows 10 in this lecture.
In this lecture, i will help you create your first virtual machine and install Ubuntu Linux on it.
In this lecture, i will show you how to create a full clone of your virtual machine so you can complete the lab setup.
In this lecture, we will establish connectivity between our lab systems.
In this lecture, we will setup local name resolution in our lab so that we can use host names rather than IP addresses in our lab.
In this lecture, we will install required software in our lab such as Ansible , python etc.
For Ansible to function it is a requirement that Ansible should be able to ssh into the remote machines in a passwordless manner, we will setup password less ssh in this lecture.
In this video , I will show you how you can troubleshoot some common issues you might face during your Ansible lab setup.
In this lecture, i will show explain some common Ansible terms.
In this lecture, we will run our first ansible commands. You will get a sneak peak into what ansible can do using ad-hoc commands in ansible.
We will write our first playbook and i will explain how you can access and navigate online documentation from ansible.
I have uploaded .,all the playbooks used in this course in my public gitlab repository, in this lecture, i will show you how you can clone the repository so you have a copy on your local computer.
In this lecture , we will take a deep dive into inventory management in Ansible.
In this lecture, i will explain how you can setup host variables inside your inventory.
In this lecture, i will show you how you can setup group variables in your inventory.
In this lecture, i will tell you somethings to consider when you are configuring variables.
In this lecture, we will talk about some inventory parameters.
In this lecture, i will explain how you can write your playbook files.
In this lecture, i will explain the concept of idem potency in playbooks.
In this lecture, i will show you how you attain greater privileges on the remote system.
In this lecture, i will show you how you can setup your event handling system in ansible using handlers.
In this lecture, we will install LAMP stack on remote machine using ansible.
Ansible can gather facts about remote machines, in this lecture i will show you how you can use this in your playbooks.
In this lecture, i will show you the three different types of variables in Ansible.
In this lecture , i will show you how you can use the register command.
In this lecture, i will show you how you can configure vars_files.
In this lecture , i will show you how you can define your variables dynamically in ansible.
Playbooks can get quite big , in this lecture i will show you how you can organize your playbooks into multiple files that can be reused.
In this lecture, i will show you how you can import tasks from another tasks files into your playbook.
Roles are an essential and very important feature of ansible, in this lecture, i will show how you can setup roles in ansible.
Ansible Vault allows you to store your sensitive information, in this lecture i will go over the concepts of ansible vault.
In this lecture, we will write and execute a playbook that you can use to replace the sudoers file on the remote system to allow for privilege escalation.
"Very clear explanation about DevOps too for beginner. It really helped me better understand the concept and what can of tasks I can automate better." ~ Student Testimonial
"Great course covering Ansible basics :) can't wait for other ones!" ~Student Testimonial
New to the world of DevOps and Automation? Awesome ,this course assumes you are an absolute beginner and I will teach you everything starting from scratch.
In this course I will start with a basic introduction to DevOps and introduce concepts such Automation, configuration management , Pull vs Push architectures and YAML and how Ansible fits into this picture. Then I'll help you setup your lab system followed by a deep dive into the various Ansible concepts such as roles, inventory files, handlers. You'll have plenty of opportunity to practice what you've learnt with hands-on lab exercises.
Real World Final Project
We'll finish strong by doing a Final Project to give you real world experience by automating deployment of Elasticsearch which is a SecDevOps tool used to analyse system/application log data using Ansible.
Why this course?
I have created this course with a focus on teaching skills from scratch, I try and explain each concept and keyword that is used during the course so that it is easier for you to learn these concepts and implement DevOps and Automation in real world. Here are some student testimonials
"I like teaching style of the instructor, he explains every concept in a very easy to understand manner. Also, the course material looks awesome so far." ~ Srikant Singh
"Amazing Tutorial.Really awesome for beginners" ~Damilola Dennis Agboola
What is Ansible?
Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.
Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time.
It uses no agents and no additional custom security infrastructure, so it's easy to deploy - and most importantly, it uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to describe your automation jobs in a way that approaches plain English.
Legal Notice:
Ansible® and Ansible Tower® are registered trademarks of Ansible, Inc. in the United States and other countries. This course is not certified, accredited, affiliated with, nor endorsed by Ansible, Inc.