Getting Started with Ansible Tower: Quick Install

Reading Time: 3 minutes

Hi Readers, we are very much familiar with Ansible and its usage. But today in this blog we will try to understand the basics of another version of Ansible, which is Ansible Tower. Ansible Tower is derived from the AWX project. We will learn the what and why of this tool in this blog.

What is Ansible Tower?

  • It is a web-based GUI tool, used for managing infrastructural configurations.
  • It is Ansible at a more enterprise level.
  • It is useful for centralizing infrastructure from a user interface with role-based access control(RBAC), job scheduling, and graphical inventory management.

What makes it special?

  • It has a user-friendly dashboard, useful for managing inventory dynamically.
  • It provides real-time job status by providing playbook status.
  • It has the capability to schedule a job.
  • It can send internal notifications by sending playbook status notifications to various channels, say Slack.
  • It provides role-based access control which strengthens the security of the infrastructure.
  • It has many more features like auditing job and tower resources, credentials storage, REST API, access to remote ad-hoc commands, and so on.

Installation

There are multiple ways to set up AnsibleTower including VirtualBox, Amazon ec2 instance, Vagrant, using docker, etc.

In this blog, we will be using Vagrant for the local setup.

Prerequisite

  • 64-bit Linux OS.
  • 20 GB HDD and 4 GB RAM.
  • Supported OS: RHEL, CentOS.
  • A Redhat account. (Free tier is good for beginners)A

Setting up an RHEL virtual machine using Vagrant

Run these commands to setup the tower on vagrant
~/Tower$vagrant init ansible/tower

~/Tower$vagrant up --provider virtualbox

~/Tower$vagrant ssh

This will show output something like this. It contains the username and password used to login into WebUI.

Login to Tower WebUI using the credentials

Import license from the Redhat account

Once you have a valid license, it will allow you to the homepage for Ansible Tower WebUI.

That’s all for this blog. Hope you found some information from this. In case of any queries you can contact me over my email id nitin.mishra@knoldus.comTo read my other blogs click this.

References

Written by 

Nitin Mishra is a Software Consultant at Knoldus Software LLP. He has done MCA from GGSIPU and completed Bachelor of Science in Computer Science from Delhi University. He is a tech enthusiast with good knowledge of Java. He is majorly focused in DevOps practice. On personal front he loves to travel mountains and writes poetry.