Chapter 5. Setting up your development environment

You can follow the procedures in this section to set up your development environment to create automation execution environments.

5.1. Installing Ansible Builder

You can install Ansible Builder using Red Hat Subscription Management to register and attach to your Red Hat Ansible Automation Platform subscription. In your terminal, run the following command:

$ dnf install ansible-builder

You can also install Ansible Builder from the Python Package Index (PyPI). To install with this setup, run:

$ pip install ansible-builder

5.2. Installing Automation content navigator on RHEL from an RPM

You can install Automation content navigator on Red Hat Enterprise Linux (RHEL) from an RPM.

Prerequisites

  • You registered your system with Red Hat Subscription Manager.

Procedure

  1. Enable the repository for RHEL 8.

    $ sudo subscription-manager repos --enable ansible-automation-platform-2.0-early-access-for-rhel-8-x86_64-rpms
  2. Install Automation content navigator.

    $ dnf install ansible-navigator

Verification

  • Verify your Automation content navigator installation:

    $ ansible-navigator --help

You should see the help output describing the main functions of Automation content navigator.

5.3. Downloading base automation execution environments

Base images that ship with AAP 2.0 are hosted on the Red Hat Ecosystem Catalog (registry.redhat.io).

Prerequisites

  • You have a valid Red Hat Ansible Automation Platform subscription.

Procedure

  1. Log in to registry.redhat.io

    $ podman login registry.redhat.com
  2. Pull the base images from the registry

    $ podman pull registry.redhat.io/aap/<image name>