Ansible: Install and Configure Ansible Tower On CentOS 7

  • 18

Ansible Tower Logo
In this article we will install and configure Ansible Tower on CentOS 7, Red Hat Enterprise Linux (RHEL). Ansible is quickly becoming the standard automation tool used in enterprises for automating everything. It is powerful, simple, easy to learn and these of course are the main reasons it becoming the standard everywhere.

Ansible has two components: Ansible Core and Ansible Tower. Core provides the Ansible runtime that executes playbooks (yaml files defining tasks and roles) against inventories (group of hosts). Ansible Tower provides management, visibility, job scheduling, credentials, RBAC, auditing / compliance and more. In our previous article we discussed Ansible Core installation and configuration. Installing Ansible Tower also installs Ansible core so you kill two birds with one stone.

For more details please visit Ansible official website



Before starting for Ansible Tower you need rhel-7-server-rpms, rhel-7-server-extras-rpms and EPEL.
1. Install and configure EPEL repositories:

[root@devops]$ yum install

2. Install Ansible

[root@devops]$ yum install -y ansible


Install Ansible Tower

Download latest Ansible Tower release.

[root@devops]$ wget
[root@devops]$ tar -xzvf ansible-tower-setup-3.1.5.tar.gz

Configure Setup.
Ansible Tower uses an Ansible playbook to deploy itself. As such configuration parameters or groupvars are stored in inventory file.

[root@devops]$ cd ansible-tower-setup-3.1.5/
[root@devops]$ vi inventory

 localhost ansible_connection=local






 # Needs to be true for fqdns and ip addresses

Run Setup.

[root@devops]$ ./


Configure Ansible Tower

Ansible Tower Provides a RESTful API, CLI and UI. To connect to the UI simply open browser using http/https and point to your Ansible Tower IP or hostname.

https://<Ansible Tower IP or Hostname>

Login using the user you configured in the inventory file, in this case admin/password.
ansible tower login
Once you are logged in, you need to configure license. Tower license comes in a file, so simply browse to the file and accept the terms. If you don’t have a license you can get a trial here.

Ansible Tower License


Avinash Pawar

An automation enthusiast who presently working as DevOps Engineer.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle Plus

Avinash Pawar

An automation enthusiast who presently working as DevOps Engineer.