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.
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.
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.