Questo contenuto non è disponibile nella lingua selezionata.
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 Copia collegamentoCollegamento copiato negli appunti!
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 installation
Procedure
- Navigate to the Red Hat Ansible Automation Platform download page.
- Click for the Ansible Automation Platform <latest-version> Setup.
Transfer the file to the target server using
scporcurl:Using
scp:-
Run the following command, replacing
private_key.pem,user, andserver_ipwith your appropriate values:
-
Run the following command, replacing
$ 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:
-
If the setup file URL is available, you can download it directly to the target server using
$ curl -0 <download_url>
If the file needs to be extracted after downloading, run the following command:
$ tar xvzf aap-bundled-installer.tar.gz
RPM installation
The Ansible Automation Platform RPM installer was deprecated in 2.5 and will be removed in Ansible Automation Platform 2.7. The RPM installer will be supported for RHEL 9 during the lifecycle of Ansible Automation Platform 2.6 to support migrations to existing supported topologies. For more information on upgrade and migration paths, see the Support matrix for upgrade scenarios.
Procedure
Install Ansible Automation Platform Installer Package:
v.2.5 for RHEL 8 for x86_64
$ sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms ansible-automation-platform-installerv.2.5 for RHEL 9 for x86_64
$ sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms ansible-automation-platform-installer
dnf install enables the repository as the repository 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 Copia collegamentoCollegamento copiato negli appunti!
The Red Hat Ansible Automation Platform Bundle installer enables you to install Ansible Automation Platform without internet access.
Prerequisites
- Access to Red Hat Enterprise Linux repositories.
Procedure
- Go to the Red Hat Ansible Automation Platform download page.
- Click for the Ansible Automation Platform <latest-version> Setup Bundle.
Extract the files:
$ tar xvzf ansible-automation-platform-setup-bundle-<latest-version>.tar.gz