Ansible Tower on Azure

0
590

Overview

Ansible Tower by Red Hat helps you scale IT automation, manage complex deployments and speed productivity. Centralize and control your IT infrastructure with a visual dashboard, role-based access control, job scheduling and graphical inventory management.

This Azure quickstart template deploys an Ansible Tower Solution on Azure Virtual Machines running RHEL 7.2. Template will build everything starting from Azure Infrastructure components to Ansible Tower and Clients installation, configuration etc. To start with, this template will deploy one Ansible tower server vm and 2 clients.

Once deployment finishes, you will able to directly access fully configured tower GUI and connect with Ansible Clients.

Template Solution Architecture

This template will deploy:

  • Two storage account
  • One Virtual Network with two subnets
  • Two Network Security Group, one for each subnet
  • 3 Public IP’s, one for tower and 2 for clients
  • Virtual Machines Availability set for tower and client vms.
  • One Ansible Tower Virtual Machine (RHEL 7.2)
  • Two Ansible Client Virtual Machine (RHEL 7.2)
  • Installation and configuration of Ansible Tower Server and Clients

Licenses and Costs

This uses RHEL 7.2 image which is a PAY AS YOU GO image and doesn’t require the user to license it, it will be licensed automatically after the instance is launched first time and user will be charged hourly in addition to Microsoft’s Linux VM rates. Click here for pricing details.

Prerequisites

  • Azure Subscription with specified payment method (RHEL 7.2 is a market place product and requires payment method to be specified in Azure Subscription)
  • Ansible Tower License( You can get a free trial license from here )

Deployment Steps

Build your Ansible Tower environment on Azure in a few simple steps:

  • Launch the Template by click on Deploy.
  • Fill in all the required parameter values. Accept the terms and condition on click Purchase.
  • Access the deployment job once it is successful. In deployment job output you will find the Public IP Address of client and tower VMs which can be used connect to the VMs. Make a note of the public of Tower VM.
  • Access Ansible GUI with the public ip of tower vm noted in above step by accessing http://publicip
  • Login with username as ‘admin’ and password specified in parameters during deployment.
  • Request a trial Ansible license or provide your existing Ansible license file. You should get license file within 3-5 minutes on email after requesting a trial.
  • You will now have access to working Ansible Tower Server.
  • Follow the post deployment configuration document here to learn about further configuration.

Deployment Time

The deployment takes about 20 minutes to complete.

 

You can find this quickstart here for faster deployment in Microsoft Azure.

LEAVE A REPLY

Please enter your comment!
Please enter your name here