ansible share image

The Red Hat Ansible Automation Platform is an enterprise framework for sharing automation across your organization. This article will demonstrate how to install Ansible Automation Platform 2.3 on a machine running Red Hat Enterprise Linux 9.1.

6 steps to install Ansible Automation Platform 2.3 on RHEL 9.1

Follow these quick and easy steps to installation.

1. Set up prerequisites

Make sure you have the following prerequisites before starting the installation process:

  • Red Hat Ansible Automation Platform subscription. For a free trial, visit the Ansible Automation Platform portal.
  • Minimum 16 GB of RAM
  • Minimum of 4 vCPUs
  • 20 GB of dedicated hard disk space

2. Download the Ansible Automation Platform

Download the Ansible Automation Platform 2.3 and then extract the files. Figure 1 displays the download page.

Download page for Ansible Automation Platform
Figure 1: The Ansible Automation Platform software download page.

You will see the following files in the extracted directory:

[user@user ~ ]$ ls

bundle  collections  group_vars inventory  licenses  README.md  setup.sh

Before attempting to the install Ansible Automation Platform, update all the system libraries by running the following command:

sudo dnf update -y  && dnf upgrade -y

3. Configuring the Ansible inventory file

Configure the credentials for Ansible and PostgreSQL in the Ansible inventory file. The inventory file also contains details about the database.

[automationcontroller]

fqdn ansible_connection=local



[database]



[all:vars]

admin_password='redhat'



pg_host=''

pg_port=''



pg_database='awx'

pg_username='awx'

pg_password='redhat'

Update the fields according to the requirements. Then, we will be good to go with our installation.

4. Running the setup script

Run the setup.sh file in the extracted folder. There are also various installation scenarios listed here.

sudo ./setup.sh

5. Accessing the Ansible Automation Platform console

After successfully installing the Ansible Automation Platform 2.3, access the Ansible Automation Platform console via the URL: https://localhost/. Log in with the admin username and password set in the inventory file, as shown in Figure 2.

Ansible Automation Platform Login Page
Figure 2: The Ansible Automation Platform login page.

6. Create a subscription allocation

Create a subscription allocation in the Red Hat Customer Portal and export the manifest from the overview page. Upload the manifest to activate your subscription. You can also register for a trial subscription by clicking the Request Subscription button shown in Figure 3.

Requesting a subscription for Ansible Automation Platform
Figure 3: The Ansible Subscription page.

You can explore more ways to import a subscription here.

Figure 4 shows the Ansible Automation Platform web console.

Ansible Automation Platform Web Console
Figure 4: The Ansible Automation Platform 2.3 web console.

What's next in your automation journey?

You can get started with the Ansible Automation Platform by exploring interactive labs at Red Hat Developer. Ansible Automation Platform is also available as a managed offering on Microsoft Azure and as a self-managed offering on Amazon Web Services.

Last updated: March 23, 2023