Este contenido no está disponible en el idioma seleccionado.

Chapter 2. Installing the JBoss EAP collection


As a first step toward automating deployments of Red Hat JBoss Enterprise Application Platform (JBoss EAP) by using Ansible, you must download and install the JBoss EAP collection from Ansible automation hub. The JBoss EAP collection is named redhat.eap in Ansible automation hub. Before you install the JBoss EAP collection, you must ensure that your system complies with certain prerequisites.

Prerequisites

  • You have installed the ansible-core package version 2.14 or later on a control node in your system by installing Red Hat Ansible Automation Platform 2.x.

    For more information about installing Red Hat Ansible Automation Platform, see the Red Hat Ansible Automation Platform Installation Guide.

  • You have updated the ansible.cfg file to use Ansible automation hub as your primary source of Ansible collections. For more information about updating the ansible.cfg file, see Getting started with automation hub.

Procedure

  • On your Ansible control node, enter the following command:

    $ ansible-galaxy collection install redhat.eap
    Note

    If the preceding command produces a Failed to find collection redhat.eap:* error message, ensure that you have updated the ansible.cfg file correctly to use Ansible automation hub, as described in Getting started with automation hub.

    The preceding command produces the following output:

    Starting galaxy collection install process
    
    Process install dependency map
    
    Starting collection install process
    
    ...
    
    redhat.eap:<version> was installed successfully
    
    ...
    
    redhat.runtimes_common:<version> was installed successfully
    
    ...
    
    ansible.posix:<version> was installed successfully

    For the sake of brevity, the preceding example uses ellipses to denote omitted text. In the preceding output, <version> represents the latest available versions of the installed redhat.eap, redhat.runtimes_common, and ansible.posix collections.

Verification

  • On your Ansible control node, enter the following command:

    $ ansible-galaxy collection list

    The preceding command displays the list of installed collections. For example:

    Collection                 Version
    -------------------------- -------
    ansible.posix              <version>
    redhat.eap                 <version>
    redhat.runtimes_common     <version>
    ...

As shown in the preceding example, when you install the redhat.eap collection, the latest versions of the ansible.posix and redhat.runtimes_common collections are also automatically downloaded and installed on your Ansible control node. The redhat.runtimes_common collection provides a set of standard utilities to support the automated deployment of various Red Hat Runtimes products, such as JBoss EAP.

Note

If the latest versions of the ansible.posix and redhat.runtimes_common collections already exist on your Ansible control node, these collections are not automatically installed again.

Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba