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