Overview: Create an execution environment with the following requirements
ee-supported-rhel8
containers.podman
azure.azcollection
Create the needed definition files to build the EE according to the specs above.
You can adapt the files from here (from the Simple EE example
linked to in the Tips section).
In your EE definition file set the base image to (Red Hat Registry access required)
build_arg_defaults:
EE_BASE_IMAGE: 'registry.redhat.io/ansible-automation-platform-22/ee-minimal-rhel8'
Use ansible-builder
to build the EE, for example:
ansible-builder -f /path/to/your/definition.yml -t yourname:1.0.0
ansible-navigator
to use the previously created EE either by specifying it on the command line or by creating an ansible-navigator.yml
configuration file (you have one from Track 1).ansible-navigator
, e.g. to get the list of included collections, ansible versions etc.azure.azcollection
to create objects in AzureIn a production environment we typically recommend to use the ee-minimal-rhel8
as a base image and only add the collections we specifically need. To make this lab not too complex, we decided to use the EE supported as a base image though.
resource group
which will remove all objects created within.