Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Demystifying Ansible Automation Platform

You're reading from   Demystifying Ansible Automation Platform A definitive way to manage Ansible Automation Platform and Ansible Tower

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781803244884
Length 314 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Sean Sullivan Sean Sullivan
Author Profile Icon Sean Sullivan
Sean Sullivan
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Getting Ansible Automation Platform Up and Running
2. Chapter 1: Introduction to Ansible Automation Platform FREE CHAPTER 3. Chapter 2: Installing Ansible Automation Platform 4. Chapter 3: Installing Ansible Automation Platform on OpenShift 5. Chapter 4: Configuring Settings and Authentication 6. Part 2: Configuring AAP
7. Chapter 5: Configuring the Basics after Installation 8. Chapter 6: Configuring Role-Based Access Control 9. Chapter 7: Creating Inventory, and Other Inventory Pieces 10. Chapter 8: Creating Execution Environments 11. Chapter 9: Automation Hub Management 12. Chapter 10: Creating Job Templates and Workflows 13. Part 3: Extending Ansible Tower
14. Chapter 11: Creating Advanced Workflows and Jobs 15. Chapter 12: Using CI/CD to Interact with Automation Controller 16. Chapter 13: Integration with Other Services 17. Chapter 14: Automating at Scale with Automation Mesh 18. Chapter 15: Using Automation Services Catalog 19. Index 20. Other Books You May Enjoy

Using roles to create execution environments

The command line is the way to use Ansible Builder, and there are roles to help build execution environments using Configuration as Code (CaC). This section will cover two roles from redhat_cop.ee_utilities. The first is the ee_builder role, which is built to take inputs and build out an execution environment. The second role is virtualenv_migrate, which is built to convert a Python virtual environment from a legacy Ansible Tower installation into an EE using the ee_builder role.

Creating an execution environment using the builder role

This role is useful for creating a CI/CD utility that can update execution environments when change is required. This is important as Red Hat releases regular updates for the base EE images, and it can also be used to add to an EE over time. Using CaC to define and create the EE makes managing it easy.

The ee_builder role takes the following variables. They are the variable equivalents of the sections...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime