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

Creating and modifying your execution environments

The EEs that come with Ansible Automation Platform can perform most general tasks, though some collections have different Python or system requirements that aren’t included in a base container image.

To allow anyone to create an EE, the Ansible Builder tool was introduced. This tool takes a definition file and creates an EE.

Creating a definition file

The definition file is made up of four sections, as follows:

  • Base section: This is where the base variables are set.
  • Build arguments section: This is where the build arguments are set.
  • Dependencies section: This is where definitions for dependencies are set.
  • Build steps section: This is where additional build arguments are set.

To follow along, a base execution file has been created in this chapter’s files:

//base/base_execution_enviroment.yml
---
version: 1
build_arg_defaults:
  EE_BASE_IMAGE: 'ah.node/ee-minimal...
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 €18.99/month. Cancel anytime