Table of Contents

Today’s Agenda

  • Arrivals, Introductions

  • Workshop Setup

  • Ansible Labs

  • Ansible Tower Labs

  • Use Cases

Before We Get Started

You will need a system which has an RDP client in order to interact with the lab.


Today is meant for anyone who has any exposure to Ansible, whether you have used it or not. The format of this discussion is a combination of presentation, demonstration, and hands-on labs.

Your Responsibilities

  • Have a discussion. This will be boring if it’s just us up here talking for over 4 hours.

  • Participate. We are going to cut you loose with Ansible here in just a little while. Have questions. Have opinions.

Hopefully you have your laptop with you. If not, please find a shoulder-surfing buddy. See? Not only can we dig into Ansible but you can make a new friend!

Conventions Used in This Document

Tip Whenever you see a section like this, please pay close attention. We are leading you through a process.

Step 1: Run this command to do something or other

ansible windows -m setup

Step 2: Edit this file in this specific way

- hosts: web
  name: This is a play within a playbook
  become: yes
      - httpd
      - mod_wsgi
Important Do not cut and paste text from this document. We really want you to learn ansible during this workshop, and part of that experience is typing out YAML and understanding it’s syntax, spacing, and alignments.

This document was created by and for Red Hat, Inc. It is being released under Creative Commons License 4.0. You are free to re-use it in whole or in part.

You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

Workshop Lab Setup



  • Today’s workshop infrastructure is being run in the Cloud (either Amazon EC2, VMWare, or Azure).

  • Each student will have three instances to use. Connectivity details will be provided by the instructor.

  • Central Active Directory, DNS, and GitLab environments are utilized in this workshop.

Workshop Infrastructure

Each student’s personal lab is equipped with the following:

  • (1) Control node (Linux host to run ansible plays and install Ansible Tower).

    • Red Hat Enterprise 7

  • (1) Windows Workstation (to interact with the environment, edit code, etc).

    • Windows 2012/2016

  • (1) Windows Endpoint nodes (to execute ansible playbooks upon).

    • Windows 2012/2016

  • Ansible Engine 2.5

  • Ansible Tower 3.3

Testing your environment

Log into your workstation instance with an RDP client using the details provided by your instructor. You will see a few things pre-installed for use today:

  • Firefox

  • Chrome

  • Visual Studio Code (Editor for creating playbooks)

  • Git (Source Code Control)

Important Be sure you can log in to your workstation instances. If you can’t log in start shouting, loudly, and waving your hands! We will test access to the other hosts in the first exercise.

End Result

At this point, everyone should have logged into your workstation node. If you haven’t, let us know so we can get you fixed up.