What is Ansible Part I: Why Ansible ?

Gourav Shah
A free video tutorial from Gourav Shah
Premium Instructor| 35k+ students| Devops Trainer and Author
4.1 instructor rating • 14 courses • 41,284 students

Learn more from the full course

Ultimate Ansible Bootcamp by School of Devops®

Unofficial Guide to EX407 Redhat Certified Specialist in Ansible Automation

07:32:45 of on-demand video • Updated July 2020

  • What is ansible, why its needed and how it works
  • How to configure ansible and setup static/dynamic inventories
  • Ad hoc server management, running jobs in parallel
  • Managing systems entities using ansible Modules
  • Writing Playbooks to define the state of infrastructure as a code
  • Creating modular, reusable code with Roles
  • Creating dynmic code with vars and templates
  • Using Ansible Galaxy
  • Encrypting sensitive data with Vault
  • Service Discovery and managing Multiple Environments
  • Application Deployment Strategies, Rolling Updates
English [Auto] So this are first lesson related to introduction to article. And in this one I'm going to talk about why do we need antidote. Now let's look at the evolution of infrastructure to understand why do we need new type of automation tools. So we've come a long way from the mainframes of 60s to personal computers to clients as well to the verb infrastructure and the cloud based infrastructure which has exploded in the last decade or so and with this growing infrastructure comes the need to manage it. And it is the I.T. operations team which are in charge of keeping the lights on and they have to manage various aspects of this infrastructure starting with let's say your band metals to what your machines and managing the systems installing those configuring the system configurations doing it at scale and keeping those configurations up to date as well as patching the servers et cetera. Now I.T. operations also today manages most of the network configurations and there is a growing demand for the software defined network. Now we also have cloud. We we're not not limited to you know the just the virtual machines or the Balmoral infrastructure with the cloud in fact our infrastructure has exploded and it has multi. You know we not talking about thousands of servers to manage which is not very uncommon in a large scale infrastructure as part of the I.T. operations teams. We also need to take care of the application operations installing configuring the applications deploying the updates to it and you know managing the configurations and change across our deployments and every single virgin. It is typically the job of I.T. operations team or part of data operations to manage the security and compliance as well. And now that we are moving towards in 2018 and 19 we are moving towards the world of container based delivery. That is a great need to manage the container orchestrators like Cuban is and the infrastructure related to that as well. Now let's look at the tools that data operations has been using or the office has been using and how it started growing right so we started initially with the manual approach where we had a bunch of servers just handful of servers where we could log into each of their server make changes manager and do all these administration activities. It's not possible to do that anymore and then we grew to writing scripts like bad scripts or Python or ball or tickle decay or what not. Right. And now we're talking about the new generation of automation tools mainly which follow the infrastructure as a cold philosophy. Now let's look at some of the tools that you know the administrator develops the OPs engineers are data operations has been using for various purposes right. So because if you want to manage infrastructure at scale and mainly at the system level you need a V to connect to a bunch of servers and run something in parallel. And then there are various tools to do that including fund pieces such as cluster message battle message essentially all of these tools allow you to connect to servers in parallel and run some command across all of those at the same time. The next type of tools that we started using was configuration management like puppet and chef's puppet came in in 2005. I'd become really really popular chef came in around 2009 as well and these have been the pillars of the bulbs you know revolution for the last decade or so. Right now we use these tools typically to manage our systems at scale and they do a pretty good job at that. Even though we have tools like Papillon chef we still need additional tools for the actual application deployments and they've been tools like Capistrano fabric and then there are a bunch of other tools based on the platform and the environment that you are in which are dedicated application deployment tools and now that we are talking about cloud and managing things at a much larger scale. We also need to have an ability to provision the infrastructure on cloud. And then there are specialized tools to do that as well. Like for example a tablet has a tablet cloud formation that is open stack heat and there are similar tools which allow you to write some templates and then there's a tool called as terraform which is more like a cloud agnostic tool which helps you to you know provision infrastructure across different cloud platforms. Now if you really look at it in the gist we're talking about multiple different tools. When you want to do some ad hoc server management run commands in parallel you have certain tools to do that remote management tools their configuration management tools which help you to systematically push updates at scale and that's worked by pretend chef comes in. We also need to learn about the orchestration and deployment tools like Capistrano fabric or a bunch of transcript maybe and then you have tools which help you to provision on cloud nine. Either you learn each of these tools or you can possibly consolidate all of these activities with one single tool and that's exactly what Ansel does for you. It is all of these tools combined into one. And that's why you need to learn about Annabelle in the next video. I'm going to start talking about the five features of Bill and we are going to start diving into one feature at a time.