Ansible Workshop - Ansible for Red Hat Enterprise Linux
Ansible is simple yet powerful IT automation for application deployment, configuration management, and orchestration that you can learn quickly. In the first section of this lab you will learn to use command-line Ansible for automation from the basics up to some more advanced concepts. The second section of this lab covers Ansible Automation Platform and provide the user an overview of what Ansible Tower is, how it works and what the benefit of it is.
After finishing this lab you are ready to start using Ansible for your automation requirements.
Table of Contents
- Presentations
- Time planning
- Lab Diagram
- Lab IPs
- Section 1 - Command-line Ansible Exercises
Section 2 - Ansible Automation Platform Exercises- Supplemental Exercises
Presentations
The exercises are self explanatory and guide the participants through the entire lab. All concepts are explained when they are introduced.
There is an optional presentation available to support the workshops and explain Automation, the basics of Ansible and the topics of the exercises in more detail: Ansible RHEL Automation
Also have a look at our Ansible Best Practices Deck: Ansible Best Practices
Time planning
The time required to do the workshops strongly depends on multiple factors: the number of participants, how familiar those are with Linux in general and how much discussions are done in between.
Having said that, the exercises themselves should take roughly 4-5 hours. The first section is slightly longer than the second one. The accompanying presentation itself adds another hour.
Lab Diagram
Lab IPs
Section 1 - Command-line Ansible Exercises
- Exercise 1.1 - Check the Prerequisites
- Exercise 1.2 - Running Ad-hoc Commands
- Exercise 1.3 - Writing Your First Playbook
- Exercise 1.4 - Using Variables
- Exercise 1.5 - Conditionals, Handlers and Loops
- Exercise 1.6 - Templates
- Exercise 1.7 - Roles
- Exercise 1.8 - Bonus
Section 2 - Ansible Automation Platform Exercises
Exercise 2.1 - Introduction to TowerExercise 2.2 - Inventories, credentials and ad hoc commandsExercise 2.3 - Projects & job templatesExercise 2.4 - SurveysExercise 2.5 - Role based access controlExercise 2.6 - WorkflowsExercise 2.7 - Wrap up
Supplemental Exercises
There is also a series of exercises that go above and beyond our normal workshop content. Please check out our supplemental exercises if you want more content to learn from.