6. Obtain the Ansible Automation Platform Installation Program

Starting with Ansible Tower 3.8, Automation Hub will act as a content provider for Ansible Tower, which requires both an Ansible Tower deployment and an Automation Hub deployment running alongside each other. Tower and Automation Hub can run on either RHEL 7 or 8, but only Tower (not Automation Hub) is supported on an OpenShift Container Platform (OCP). Before obtaining the Automation Hub installer, determine how you will be installing your environment.

Both installers have Ansible Tower and Automation Hub; and provide the exact same feature set.

root@localhost:~$ tar xvzf ansible-tower-setup-latest.tar.gz
root@localhost:~$ cd ansible-tower-setup-<tower_version>

Installing with internet access will retrieve the latest required repositories, packages, and dependencies. You must have a valid subscription to activate the Ansible Automation Platform programs.

After installation or upgrade, start by editing the inventory file in the ansible-tower-setup-<tower_version> directory, replacing <tower_version> with the version number, i.e., 3.8.0.

  • Installing without internet. Download the bundled installer. Use this method when you do not have direct access to online repositories, or your environment enforces a proxy.

Note

To obtain a trial version of Ansible Tower, visit: http://www.ansible.com/tower-trial

For pricing information, visit: http://www.ansible.com/pricing

For the OpenShift installer, go to http://releases.ansible.com/ansible-tower/setup_openshift

6.1. Using the Bundled Ansible Automation Platform Installer

The bundled Ansible Automation Platform installer is meant for customers who are unable to access the internet, or would prefer not to install separate components (and its dependencies) from online repositories. Access to Red Hat Enterprise Linux or CentOS repositories is still needed. All other dependencies are included within the tar archive.

  1. Access the latest version of the bundled Ansible Automation Platform installation program directly from https://access.redhat.com/downloads/content/480 (note, you must have a Red Hat customer account to access the downloads).

Note

The Ansible Automation Platform installer only supports Red Hat Enterprise Linux and CentOS.

  1. Next, select the latest installation program to download. The single .tar.gz works with both RHEL 7 and RHEL 8 distributions:

ansible-tower-setup-bundle-latest.tar.gz

Note

On Red Hat Enterprise Linux 7 or 8, Ansible Tower 3.8.0 requires the Python 3 Software Collection. If you are installing Tower offline, you need either CentOS-SCL or RH-SCL repositories enabled through a local mirror:

  • Red Hat Subscription Manager: rhel-server-rhscl-7-rpms

  • Red Hat UI: rhui-rhel-server-rhui-rhscl-7-rpms

  • CentOS: centos-release-scl

A list of package dependencies from Red Hat Enterprise Linux repositories can be found in the bundle/base_packages.txt file inside the setup bundle. Depending on what minor version of Red Hat Enterprise Linux you are running, the version and release specified in that file may be slightly different than what is available in your configured repository.

  1. On your chosen machine, extract the installation/upgrade tool:

root@localhost:~$ tar xvzf ansible-tower-setup-latest.tar.gz
root@localhost:~$ cd ansible-tower-setup-<tower_version>
  1. Upon installation or upgrade, start by editing the inventory file in the ansible-tower-setup-<tower_version> directory, replacing <tower_version> with the version number, i.e., 3.8.0.