Configuration as Code for Ansible Automation Platform 2 Technical Workshop

IMPORTANT TO NOTE

These are 90 minute split versions of this workshop. For the longer 4-hour session that combines all sections please 🔬 click here

Welcome to our interactive lab on using Configuration as code to configure the Ansible Automation Platrom.

Configuration as Code(CasC) is the way to maintain all your infrastructure.

This lab will provide code to demonstrate how to use CasC to maintain all aspects of AAP. The provided code will be a starting point, and will guide the user through how to utilize the code, and make it their own. This lab will cover configuring controller, private automation hub, execution environments, as well as the creation of workflows without the GUI as an example to follow along. These principles will help to prevent drift in configuration, allow changes to require approval before implementation, and help to maintain both a development and prod deployment.

It is Recomended to be familiar with the Automation Controller and Ansible as this lab assumes you are familier with using those products.

If you have not used the Automation controller before, a recomended place to start is this instruct lab, if you have not done so before: Introduction to automation controller

Agenda

Recommended agenda for when there is an instructor teaching.

Lab1: Creating an Execution Environment ⏱️ 45 minutes
Lab2: Configuring your Automation hub ⏱️ 70 minutes
Lab3: Configuring your Automation controller ⏱️ 120 minutes
Lab4: Creating an Automation controller Workflow in code ⏱️ 90 minutes

Total Time: 5.5 hours (330 minutes)

Lab Index

Lab Title Description Link Estimated Time
Creating an Execution Environment Learn how to use configuration as code to create execution environments. 🚀 Launch Lab ⏱️ 45 minutes
Configuring your Automation hub Learn how to use configuration as code to configure Ansible Automation hub. 🚀 Launch Lab ⏱️ 70 minutes
Configuring your Automation controller Learn how to use configuration as code to configure Ansible Automation controller. 🚀 Launch Lab ⏱️ 120 minutes

Supplemental Labs

Lab Title Description Link Estimated Time
Creating an Automation controller Workflow in code Use CasC to maintain workflows in the Automation controller. 🚀 Launch Lab ⏱️ 90 minutes

Going Further

Additional material for Event-Driven Ansible

Title Type Link
Demystifying Ansible Automation Platform Book 📖 Demystifying Ansible Automation Platform - Book from Packt
Infra Collections in Ansible Galaxy Collections 📒 Download collections used in this lab and get links to their repos

Ansible Workshop

This is an official Ansible Workshop

This workshop is maintained by the Infra Config as Code Volunteers Please open an issues on Github

ansible workshop logo