Documentation

8. Prerequisites

Tower is installed using Ansible playbooks. Therefore, you need Ansible to install Tower. Ansible Tower requires Ansible version 1.8 or later.

Ansible can be installed as detailed in the Ansible documentation at: http://docs.ansible.com/intro_installation.html

For convenience, those installation instructions are summarized here:

8.1. Configuration and Installation for Ansible with Red Hat Enterprise Linux and CentOS

The following steps help you configure access to the repository as well as install Ansible.

8.1.1. Configure access to the repository for Ansible with Red Hat Enterprise Linux and CentOS (version 6 or later):

Configure the EPEL repository and any others needed.

As the root user, for Red Hat Enterprise Linux 6 and CentOS 6:

root@localhost:~$ yum install http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

As the root user, for Red Hat Enterprise Linux 7 and CentOS 7

root@localhost:~$ yum install http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Note

You may also need to enable the “extras” repository, named “extras” on CentOS 7, “rhel-7-server-extras-rpms” on Red Hat Enterprise Linux 7, and “rhui-REGION-rhel-server-extras” when running in EC2.

Note

For users of Red Hat Enterprise Linux 7, you also need to enable the “optional” repository. When using the official Red Hat Enterprise Linux 7 marketplace AMI, be sure you install the latest “rh-amazon-rhui-client” package that allows enabling the optional repository (named “rhui-REGION-rhel-server-optional” in EC2).

8.1.2. Install Ansible on Red Hat Enterprise Linux and CentOS (version 6 or later):

root@localhost:~$ yum install ansible

8.2. Configuration and Installation for Ansible with Ubuntu

The following steps help you configure access to the repository as well as install Ansible.

8.2.1. Configure access to the repository for Ansible with Ubuntu 12.04 and Ubuntu 14.04:

As the root user, configure Ansible PPA:

root@localhost:~$ apt-get install software-properties-common
root@localhost:~$ apt-add-repository ppa:ansible/ansible

8.2.2. Install Ansible on Ubuntu 12.04 and Ubuntu 14.04:

root@localhost:~$ apt-get update
root@localhost:~$ apt-get install ansible