Skip to main content

Lab Walkthroughs

Updated Jan 24, 2021 ·

Overview

The Ansible labs are split into individual lab folders under 005-Projects. Use the lab series index below to jump to a specific exercise.

LabTopic
Lab 001Playbook on Ping
Lab 002Playbook on Uname
Lab 003Copying gitconfig onto the Nodes
Lab 004Doing a dry-run using 'check'
Lab 005Playbook on sending .gitconfig
Lab 006Two-tier Design Part 1: Package Management
Lab 007Two-tier Design Part 2: Install services
Lab 008Two-tier Design Part 3: Upload application to Web Servers
Lab 009Two-tier Design Part 4: Configure the LoadBalancer
Lab 010Two-tier Design Part 5: Health Check Status
Lab 011Two-tier Design Part 6: Using Prompts
Lab 012Two-tier Design Part 6: Consolidate into One Playbook
Lab 013Two-tier Design: Using Include
Lab 014Two-tier Design: Using Variables
Lab 015Two-tier Design: Using Local Variables
Lab 016Two-tier Design: Using Registered Variables
Lab 017Two-tier Design: Using Ansible Roles
Lab 018Using Ansible Vault
Lab 019Creating Users
Lab 020Using host_vars and group_vars
Lab 021Creating Users with Passwords stored in Ansible Vault
Lab 022Creating Users with Conditionals and Variables
Lab 023Using Jinja2 Templates to Deploy motd
Lab 024Using Jinja2 Templates to Deploy /etc/hosts file
Lab 025Creating Users using Ansible Roles
Lab 026Installing gitconfig Role from Ansible Galaxy
Lab 027Installing CentOS-Apache Role from Ansible Galaxy
Lab 028Execute Script, Install httpd, and Edit a File
Lab 029Conditionals
Lab 030Loops
Lab 031Playbooks
Lab 032Deploying LAMP Server (TBC)
Lab 033Deploying a Web Application (TBC)
Lab 034Deploying Jenkins
Lab 035Installing Maven
Lab 036Install and Configure Tomcat as the Staging Environment
Lab 037Creating a Basic Ansible Playbook
Lab 038Deploying a LAMP Stack and Python Application