Chapter 7. Choosing and obtaining a Red Hat Ansible Automation Platform installer
Chapter 7. Choosing and obtaining a Red Hat Ansible Automation Platform installer Choose the Red Hat Ansible Automation Platform installer you need based on your Red Hat Enterprise Linux environment internet connectivity. Review the following scenarios to decide which Red Hat Ansible Automation Platform installer meets your needs. 7.1. Installing with internet access Choose the Red Hat Ansible Automation Platform installer if your Red Hat Enterprise Linux environment is connected to the internet. Installing with internet access retrieves the latest required repositories, packages, and dependencies. Choose one of the following ways to set up your Ansible Automation Platform installer. Tarball install Navigate to the Red Hat Ansible Automation Platform download page. Click Download Now for the Ansible Automation Platform <latest-version> Setup . Transfer the file to the target server using scp or curl : Using scp : Run the following command, replacing private_key.pem , user , and server_ip with your appropriate values: USD scp -i private_key.pem aap-bundled-installer.tar.gz user@server_ip: Using curl : If the setup file URL is available, you can download it directly to the target server using curl . Replace <download_url> with the file URL: USD curl -0 <download_url> Note If the file needs to be extracted after downloading, run the following command: USD tar xvzf aap-bundled-installer.tar.gz RPM install Install Ansible Automation Platform Installer Package v.2.5 for RHEL 8 for x86_64 USD sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms ansible-automation-platform-installer v.2.5 for RHEL 9 for x86_64 USD sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms ansible-automation-platform-installer Note dnf install enables the repo as the repo is disabled by default. When you use the RPM installer, the files are placed under the /opt/ansible-automation-platform/installer directory. 7.2. Installing without internet access Use the Red Hat Ansible Automation Platform Bundle installer if you are unable to access the internet, or would prefer not to install separate components and dependencies from online repositories. Access to Red Hat Enterprise Linux repositories is still needed. All other dependencies are included in the tar archive. Procedure Go to the Red Hat Ansible Automation Platform download page. Click Download Now for the Ansible Automation Platform <latest-version> Setup Bundle . Extract the files: USD tar xvzf ansible-automation-platform-setup-bundle-<latest-version>.tar.gz
scp -i private_key.pem aap-bundled-installer.tar.gz user@server_ip: curl -0 <download_url> tar xvzf aap-bundled-installer.tar.gz sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms ansible-automation-platform-installer sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms ansible-automation-platform-installer tar xvzf ansible-automation-platform-setup-bundle-<latest-version>.tar.gz