Install Ansible Tower Step by Step Guide RHEL 7

Ansible is a tower that’s put you in control. Tower provides to powerful way to deploy your applications in your entire IT Infrastructure, with stream lined interface and integrated alerts. Enhanced permissions help you to scale. Rolling out an application updates, patches made simple. Role based access control and scheduling jobs for auto execution. REST API is the one you can integrate your Ansible automation tool with any other tool which supports REST API. Install Ansible Tower Step by Step Guide RHEL 7/Centos 7.

Control Users and Teams by assigning role based access control. You can restrict users to execute particular Ansible playbook and each & every task/play will be logged for auditing.

Install Ansible Tower Centos 7

Tower can be installed in three modes

  1.  Single Node Installation
  2. One Node with Remote Database Installation
  3. Cluster/High Availability, Multiple Machines with a remote database

In this article i am going to show you how to install Ansible Tower in Single Node Infrastructure

First Step is to download ansible tower trail version from website Download Link

You can also download directly from Linux command using below command

[root@ansible-tower ~]# wget

extract downloaded file using tar command

[root@ansible-tower ~]# tar -xvf ansible-tower-setup-latest.tar.gz

Required Manual Download of RPM’s for RHEL 7

Red Hat Enterprise Linux 7 will not default RPM’s support without subscription you have to install RPM’s manually

yum install python-dev python-pip gcc gcc+ python2-crypto python2-paramiko python-htt*
rpm -ivh python-babel-0.9.6-8.el7.noarch.rpm
rpm -ivh python-markupsafe-0.11-10.el7.x86_64.rpm python-jinja2-2.7.2-2.el7.noarch.rpm libyaml-0.1.4-11.el7_0.x86_64.rpm
rpm -ivh python2-pyasn1-0.1.9-7.el7.noarch.rpm
yum install ansible

Note:  openssl-libs-1.0.2 RPM is mandatory for setup to complete. Otherwise you struck up in failing dependencies for ansible tower, It’s an dependent package for installing Nginx

Modify inventory file located in installation directory path (Highlighted are changes) Or else you will get this error “Please configure passwords in the inventory file before running setup

[root@AnsibleTower ansible-tower-setup-3.2.1]# cat inventory
localhost ansible_connection=local






# Needs to be true for fqdns and ip addresses

Change your directory path to ansible-latest and execute script

[root@ansible-tower ansible-lastest]# ./setup

completion of install ansible tower you may see below message

PLAY [Install Tower isolated node(s)] *********************************************************************************************************************************
skipping: no hosts matched

PLAY RECAP ************************************************************************************************************************************************************
localhost : ok=132 changed=63 unreachable=0 failed=0

The setup process completed successfully.
Setup log saved to /var/log/tower/setup-2018-01-03-16:03:32.log
[root@AnsibleTower ansible-tower-setup-3.2.1]#

Ansible Tower Installation Log

How to Install Ansible Tower in RHEL 7

That’s from command line you have to do, go to browser and type ansible tower host IP address

ansible tower login Page

provide user name and password as per the inventory file and click on sign in

Ansible tower License Page

click on browse and provide .pem license file check i agree End user license and click submit. Install Ansible tower completed successfully. Stay tune for more updates on ansible tower automation

Related Articles

HowTo Install OpenOffice

Jenkins Installation and Configuration Steps

First Configuration After Automation Tool Installation

Thanks for your wonderful Support and Encouragement