Red Hat Ansible Training tries to give a general overview about Red Hat Ansible Automation Platform and Red Hat Ansible Automation Controller solutions, covering the most important concepts and elements inside these automation tools.
To support this objective, a set of practical laboratories have been included in this training in order to explore each point deeply and assist the student learning process to internalizing best practices and key concepts.
A folder structure is provided in this repository in order to split laboratory content and improve the clarity of the training. The following folders have been included with a specific objective:
- iac_tower -> Includes Red Hat Ansible Tower configuration as a code.
- examples -> Includes some Ansible playbooks and roles which will be used for troubleshooting and sanity-checks.
- training -> Lessons structure which includes Red Hat Ansible Engine's specific exercises with solutions.
- training_microsoft -> Lessons structure which includes specific Red Hat Ansible Tower's exercises focus on Azure environment and Microsoft Servers administration.
This lab is intended to be run in a local Vagrant machine. There may be assumptions that you are running this on Ubuntu 22.04LTS so be mindful of the some steps that include package names and some modules or commands. Largely this should translate to other distributions as well.
These instructions will not guide yout through the installation of Vagrant and any supported providers. This assumes you already have this set up.
First you need to start your Vagrant machine and connect to it:
- Start Vagrant machine
$ cd ~/vagrant/ubuntu && vagrant up
- Set up a Vagrant VM using Ubuntu 22.04LTS
$ mkdir -p ~/vagrant/ubuntu && cd ~/vagrant/ubuntu
- Initialize the Vagrant VM, if you have not done so already
$ vagrant init generic/ubuntu2204
- Start your Vagrant VM
$ vagrant up
- Connect to your Vagrant VM
$ vagrant ssh
- Clone this repository, if you haven't already
$ mkdir -p ~/git && cd ~/git && git clone https://github.com/barstown/ansible-training
Training folder includes The following list includes a lessons summary:
- Lesson 1 - Install Ansible
- Lesson 2 - Configure Ansible
- Lesson 3 - Ansible AdHoc Commands
- Lesson 4 - Ansible Inventory
- Lesson 5 - Ansible Playbooks
- Lesson 6 - Ansible Variable
- Lesson 7 - Ansible Facts
- Lesson 8 - Ansible Vault
- Lesson 9 - Ansible Conditionals, loops and handlers
- Lesson 10 - Ansible Templates
- Lesson 11 - Ansible Roles
- Lesson 12 - Ansible Filters
- Lesson 13 - Ansible Lookups, Callbacks & Tags
Training folder includes The following list includes a lessons summary:
- Lesson 1 - Install Ansible Tower
- Lesson 2 - Credentials
- Lesson 3 - Projects
- Lesson 4 - Inventories
- Lesson 5 - Job Templates
- Lesson 6 - Workflow Templates
- Lesson 7 - Ansible Tower Role Based Access Control
- Lesson 8 - Emulate a Real Ansible Tower Project (Bonus)
Please, visit Red Hat Automation Platform & Microsoft Training to access this training.
BSD
Asier Cidon - Cloud Consultant