/ansible-roadshow

One day hands on lab with Ansible and Ansible Tower

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

ansible-roadshow

Hello and welcome. This is a hands on lab with Ansible and Ansible Tower.

What is this?

This is a lab which provides an introduction to Ansible, Ansible Tower, how to write Ansible content and how to work with Ansible at scale. At the end of the day, you will know enough to go out in the real world and do real useful stuff.

Estimated time to complete this lab is 4-6 hours, depending on previous experience.

For an overview of the lab, go to: Lab overview

What is this NOT?

A complete walkthrough of all Ansible features and best practices. If you think something important is missing: contribute. For more information about contributing, see: Contributing.

You may also want to have a look at https://github.com/ansible/lightbulb which is a more complete walkthrough of all things Ansible.

❗ Some basic advise; This lab is not about doing it as fast as possible. It's about learning. Take your time to read the labs properly.

Maintainers

This lab is maintained by members of Red Hat's Nordic Solution Architect team.

Contributing

This lab is an open source (GPL 3.0) project, so if you find any problems with it, feel free to open up an issue or send a pull request. For more information about contributing to this project, please see:

For information about installing this lab, go to the bottom of this page.

Lab overview

The lab includes information about:

  • Ansible basics (clientless nature, inventory, ansible-playbook basic commands)
  • Git workflows for working with Ansible (GitHub workflow)
  • How to create playbooks (basic playbooks, work with inventories and groups, encrypted vaults)
  • How to work with roles (transform a playbook to a role)
  • Ansible Tower (projects, inventories, job templates, credentials)
  • An introduction to Ansible Galaxy
  • How to create your own Ansible module
  • How to work with Ansible code
  • Ansible Tower basics
  • How to test your Ansible playbooks and roles

BELOW is an overview of the labs. This is for the students in the lab.
❗ Start at 0 and go forward to 10. The labs depends on each other, so don't skip stuff.

  1. Getting started

  2. Ansible basics

  3. Writing Your First Playbook

  4. Writing the Wildfly Playbook

  5. Writing the Load Balancer Playbook

  6. Handling Secrets with Ansible Vault

  7. Working with Ansible as code

  8. Introducing Ansible Tower

  9. Installing wildfly and nginx from Tower

  10. Testing Ansible playbooks

  11. Developing Ansible Modules

Setting up the lab on AWS

This is for operators of the lab. Go to below page for information about setting up this lab on Amazon: Setting up the Ansible lab on AWS