Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How to install Ansible Automation Platform 2.4 on RHEL 9.1

August 4, 2023
Himanshu Yadav
Related topics:
Automation and management
Related products:
Red Hat Ansible Automation Platform

Share:

    The Red Hat Ansible Automation Platform is an enterprise framework for sharing automation across your organization. Ansible Automation Platform 2.4 comes along with a multitude of upgrades over its predecessor including the likes of Event Driven Ansible, Collection Repository Management and lots more, providing even more value to its customers. This article will demonstrate how to install Ansible Automation Platform 2.4 on a machine running Red Hat Enterprise Linux 9.1.

    Follow these quick and easy steps for installation.

    1. Set up prerequisites

    The Ansible Automation Platform requires you to have the following prerequisites:

    • 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.4 and then extract the files. 

    You will see the following files in the extracted directory:

    [user@user ~ ]$ ls

    You should see following output

    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  && sudo 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'

    Fill in the necessary fields according to the above details, and we will be ready for our installation.

    4. Executing 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.4, 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 1.

     

    Figure 1: Ansible Automation Platform login screen

    6. Create a subscription allocation

    You can 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 login using your Red Hat username and password and check which subscription allocations options you are allowed to choose.

     

    Figure 2: Ansible Automation Platform Subscription

    Figure 3: Ansible Automation Platform web console

    What's next in your automation journey?

    Now that you have setup Ansible Automation Platform, explore our interactive labs at Red Hat Developer. 

     

    Last updated: August 11, 2023
    Disclaimer: Please note the content in this blog post has not been thoroughly reviewed by the Red Hat Developer editorial team. Any opinions expressed in this post are the author's own and do not necessarily reflect the policies or positions of Red Hat.

    Related Posts

  • What's new in Ansible Automation Platform 2.4

  • 6 steps to install Ansible Automation Platform 2.3 on RHEL

  • How to install Red Hat Ansible Automation Platform on RHEL 9

  • How to install VMs and Ansible Automation Platform on Mac M1

  • Automate edge device onboarding with Ansible FDO collection

  • Recent Posts

    • Profiling vLLM Inference Server with GPU acceleration on RHEL

    • Network performance in distributed training: Maximizing GPU utilization on OpenShift

    • Clang bytecode interpreter update

    • How Red Hat has redefined continuous performance testing

    • Simplify OpenShift installation in air-gapped environments

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue