Automation with Ansible: beginner to advanced
Rahul Bajaj (~rahul56) |
Ansible is software that automates software provisioning, configuration management, and application deployment. Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.
This workshop introduces a beginner to basic fundamentals of Ansible with easy to do hands-on exercises. The workshop introduces basic use cases of Ansible followed by an introduction to Ansible Inventory, Playbooks, Modules, Variables, Conditionals, Loops and Roles. Each mentioned topic is accompanied by a set of coding exercises giving the attendees a hands-on experience in developing Ansible Playbooks.
Introduction to configuration management [15 mins]
What is configuration management? Agent vs Agent-less Push and Pull configurations. Imperative vs Declarative
DevOps Concepts [10 mins]
Infrastructure as code. Deterministic Builds/Deployments. Idempotency. Communications channels – Message Queueing vs SSH
Introduction to Ansible [30 mins]
Requirements Installation Configuration
Working with Ansible [100 mins]
Ansible Inventory Playbooks Modules Variables Conditionals Loops Roles Ansible Galaxy
Ansible in DevOps environment [20 mins] Questions and Answers [10 mins]
Basic Linux Administrator Skills Open mind and spirit to learn.
We will be using two centos7 vagrant machines for the workshop. Make sure you are using a Linux distribution and have vagrant configured with any of the providers like libvirt, virtual box, etc. If you are unable to install vagrant on your Linux systems, then you might want to install Fedora operating system and come for the workshop, we can do the rest together.
Rahul is an Associate Software Engineer, Red Hat. He is a part of the official foreman organization(https://github.com/rahulbajaj0509). He contributes mostly to the Foreman project and is a ‘Red Hat Certified Specialist in Configuration Management’. He is also the organizer of Foreman Pune Meetups.
Blog: https://rahulbajaj05.wordpress.com/ Github: https://github.com/rahulbajaj0509