AAP Installation single machine – part3

Installing AAP on a single machine:

In this scenario, we are installing the ansible automation platform(All components means – hub, automation controller, service catalog) on a single Redhatoperating system. 

Architecture diagram:


System requirements:

Component Ansible Automation Platform
(All Components)
Operating System RHEL 7.x or 8.x 
CentOS 7.x or 8.x
CPU Minimum: 8 CPU cores
Recommended: 16+ CPU cores
RAM Minimum: 16 GB
Recommended: 32+ GB
Disk Space Varies (depends on usage)
I took around 100GB
/var – 20GB (dedicated)

Installation steps 

1. Install the Redhat operating system with the required CPU & RAM

2. Download the latest Ansible Automation Platform version   https://access.redhat.com/downloads/content/480
Extract files 
#tar -xvzf ansible-automation-platform-setup-<version>.tar.gz
#chmod 755 ansible-automation-platform-setup-<version>.tar.gz

3.  Update the system and install  the EPEL repository using below commands

#yum -y update 

#yum -y install https://dl.fedoraproject.org/pub/epel...
verify whether repository added or not by using below commands 
#yum repolist  (or) #dnf repolist -v 
[root@ansibletower ~]# yum repolist 
Updating Subscription Management repositories.
repo id                                                  repo name
epel                                                      Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                              Extra Packages for Enterprise Linux Modular 8 - x86_64
   
4. Add your Redhat subscription by using the below command
# subscription-manager attach --pool=<pool_id>
Verify whether subscriptions are added or not using the below command 
# subscription-manager list  --consumed
5. Navigate to the created directory  
#cd ansible-automation-platform-setup-<version>/
 6. Edit the inventory file to set the required credentials
# vim inventory
[automationcontroller]
127.0.0.1 ansible_connection=local
[all:vars]
admin_password='password'

pg_host=''
pg_port=''

pg_database='awx'
pg_username='awx'
pg_password='password' #No special characters
7. Run setup.sh script 
#./setup.sh
8. verify automation controller installation 
#https://<automationcontrollerName>

meenakande

Hey there! I’m a proud mom to a wonderful son, a coffee enthusiast ☕, and a cheerful techie who loves turning complex ideas into practical solutions. With 14 years in IT infrastructure, I specialize in VMware, Veeam, Cohesity, NetApp, VAST Data, Dell EMC, Linux, and Windows. I’m also passionate about automation using Ansible, Bash, and PowerShell. At Trendinfra, I write about the infrastructure behind AI — exploring what it really takes to support modern AI use cases. I believe in keeping things simple, useful, and just a little fun along the way

Leave a Reply

Your email address will not be published. Required fields are marked *