Ansible in 4 Hours
Get started with Ansible

Ansible is a configuration management solution that can be used in DevOps environments to deploy and manage software and configurations on different assets in the data center. Using Ansible makes deploying software more efficient and allows companies to implement an easy-to-use standard for managing any IT assets. Ansible has rapidly evolved to one of the most important solutions for configuration management and can be used in heterogeneous environments and on multiple operating systems
What you'll learn-and how you can apply it
- Understanding Ansible
- Setting up an environment for Ansible management
- Working with ad-hoc commands
- Understanding Ansible modules
- Automating configuration deployments using Ansible playbooks
- Using Variables
- Using Inclusions
This training course is for you because...
- This Training provides candidates with the basic skills that are required for working with Ansible
Prerequisites
- Basic knowledge or experience with Linux is recommended
Downloads Needed in Advance
To work through the labs in this course, the course participant needs to install and configure his own lab environment, consisting of 2 virtual machines running a recent version of CentOS. Instructions on how to set up a lab environment can be found on Safari at https://sunburn.in/?page=library/view/red-hat-certified/9780134723990/RHCA_00_Intro_III-01.html
Recommended Preparation:
Beginning Linux System Administration (video)
Common Misunderstandings
- Many people think that Ansible only used in big IT environments. That's not so. Using Ansible can also be beneficial if just a few machines need to be managed
- Some think that learning Ansible is difficult, but anyone can run their first Ansible deployment within a matter of minutes
About your instructor
-
Sander van Vugt started working with Linux in 1992. He wrote his first book about Linux in 1999, and up to date has completed 62 different books on Linux related topics, including the best selling RHCSA/RHCE 7 Cert Guide. Sander is the author of over 20 Linux related video courses. He also works as a Linux instructor, teaching on-site and on-line classes for customers around the world.
Schedule
The timeframes are only estimates and may vary according to how the class is progressing
Segment 1: Understanding Ansible (20 minutes)
- Students will learn what Ansible is and in which type of scenarios can be useful.
Segment 2: Setting up Ansible (40 minutes)
- Students will learn how to set up a basic Ansible environment, using SSH, sudo, Ansible configuration as well as an Inventory file for working with Ansible
Break (10 minutes)
Segment 3: Using Inventory (20 minutes)
- Students will learn why inventory is important and how to use it
Segment 4: Working with modules and Ad-hoc Commands (30 minutes)
- Students will learn how to use Ad-hoc commands to run specific tasks on managed host
Break (10 minutes)
Segment 5: Using Ansible Playbooks (60 minutes)
- Students will learn how to write an Ansible playbook, using some of the most common components, including Facts, tasks, handlers, and inclusions
Break (10 minutes)
Segment 6: Using Variables (20 minutes)
- Students will learn how to use variables to make Ansible playbooks more flexible
Segment 7: Using Items (15 minutes) - Students will learn how items can be used to organize Ansible in a more efficient way
Segment 8: Understanding Vault, Galaxy and Ansible Tower (15 minutes) - Students will get an introduction to more advanced Ansible features, including Vault, Galaxy and Ansible Tower