Este conteúdo não está disponível no idioma selecionado.

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 (RHSM) to attach your Red Hat Ansible Automation Platform subscription. Attaching your Red Hat Ansible Automation Platform subscription allows you to access subscription-only resources necessary to install ansible-builder. Once you attach your subscription, the necessary repository for ansible-builder is automatically enabled.

Note

You must have valid subscriptions attached on the host before installing ansible-builder.

Procedure

  1. In your terminal, run the following command to activate your Ansible Automation Platform repo:

    $ dnf config-manager --enable ansible-automation-platform-2.1-for-rhel-8-x86_64-rpms
    Copy to Clipboard Toggle word wrap
  2. Then enter the following command to install Ansible Builder:

    $ dnf install ansible-builder
    Copy to Clipboard Toggle word wrap

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 have installed RHEL 8 or later.
  • You registered your system with Red Hat Subscription Manager.

Procedure

  1. Attach the Red Hat Ansible Automation Platform SKU.

    $ subscription-manager attach --pool=<sku-pool-id>
    Copy to Clipboard Toggle word wrap
  2. Enable the repository for RHEL 8.

    $ sudo subscription-manager repos --enable ansible-automation-platform-2.1-for-rhel-8-x86_64-rpms
    Copy to Clipboard Toggle word wrap
  3. Install Automation content navigator.

    $ dnf install ansible-navigator
    Copy to Clipboard Toggle word wrap

Verification

  • Verify your Automation content navigator installation:

    $ ansible-navigator --help
    Copy to Clipboard Toggle word wrap

The following example demonstrates a successful installation:

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.io
    Copy to Clipboard Toggle word wrap
  2. Pull the base images from the registry

    $ podman pull registry.redhat.io/aap/<image name>
    Copy to Clipboard Toggle word wrap
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat