This guide demonstrates how to deploy Red Hat's Ansible Automation Platform (AAP) in a standalone, containerized setup. It assumes you already have a Linux machine ready for deployment.
I'm using an OpenStack instance with the following specifications:
- vCPUs: 16
- RAM: 32 GB
- Disk: 160 GB
openstack server create \
--flavor xxl \
--image RHEL-9.4 \
--network net_shared_2 \
--security-group default \
--key-name my-key \
mf-aap-rhel9-4wget https://access.redhat.com/downloads/content/480/ver=2.5/rhel---9/2.5/x86_64/product-softwareIP=10.0.0.11
KEY=/home/matbu/.ssh/my-key
AAP=/home/matbu/Downloads/ansible-automation-platform-containerized-setup-2.5-3.tar.gzscp -i $KEY $AAP cloud-user@$IP:ssh -i $KEY cloud-user@$IPtar -xvf ansible-automation-platform-setup-bundle-2.5-4-x86_64.tar.gzEdit and save the following content as inventory:
[automationgateway]
mf-aap-rhel9-4.standalone
[automationcontroller]
mf-aap-rhel9-4.standalone
[automationhub]
mf-aap-rhel9-4.standalone
[automationeda]
mf-aap-rhel9-4.standalone
[database]
mf-aap-rhel9-4.standalone
[all:vars]
ansible_user=cloud-user
ansible_connection=local
become=true
postgresql_admin_username=postgres
postgresql_admin_password=redhat
# Registry Credentials (Update These)
registry_username=xyz
registry_password=xyz
redis_mode=standalone
gateway_admin_password=redhat
gateway_pg_host=mf-aap-rhel9-4.standalone
gateway_pg_password=redhat
gateway_redis_host=mf-aap-rhel9-4.standalone
gateway_validate_certs=false
# License File (Update Path)
controller_licence_file=/home/cloud-user/manifest_ansible_manifest_xyz.zip
controller_admin_password=redhat
controller_pg_host=mf-aap-rhel9-4.standalone
controller_pg_password=redhat
hub_admin_password=redhat
hub_pg_host=mf-aap-rhel9-4.standalone
hub_pg_password=redhat
eda_admin_password=redhat
eda_pg_host=mf-aap-rhel9-4.standalone
eda_pg_password=redhat
eda_redis_host=mf-aap-rhel9-4.standaloneEnsure the hostname is correct:
127.0.0.1 mf-aap-rhel9-4.standalone mf-aap-rhel9-4
Navigate to the AAP setup directory and run the installer:
pushd ansible-automation-platform-containerized-setup-2.5-3
ansible-playbook -i inventory ansible.containerized_installer.installOnce the installation completes, open your browser and navigate to:
https://10.0.0.11
- Username:
admin - Password:
redhat(or the password you configured in the inventory file)
- Ensure all required dependencies are installed on your Linux instance before proceeding.
- Replace placeholder values (e.g.,
xyz, file paths, IPs) with your actual configuration.
Happy automating! ๐