Ansible and Microsoft Azure


Red Hat Ansible Automation Platform on Microsoft Azure offers the benefits of Ansible automation with the support of a managed app. Learn more and get started.

Automate Microsoft Azure simply

Chances are teams in your organization are already successfully deploying workloads in public cloud. As more new applications are built natively for the cloud, IT leaders are looking for ways to deliver a consistent customer experience and management strategy across cloud and on-premise applications. The good news - if your IT teams are already using Ansible to describe on-premise infrastructure and applications, then you can easily use these descriptions to automate the same workloads in Microsoft Azure.

Azure supports customers’ push to hybrid cloud in the areas of infrastructure, user identity and management. Using Ansible to automate these Azure services gives organizations the flexibility to run workloads where they best make sense.

Automate once, Deploy anywhere

The Azure collection makes it easy to provision instances, networks, and complete Azure infrastructure whenever you need, and in any region you require. For example, the same simple Playbook language you use for application deployment and on-prem automation also provisions your Azure infrastructure, applying the correct configuration.

Once you use Ansible to define your application locally, you can repeatedly deploy and redeploy the application. Re-deploying it to a different infrastructure is as straightforward as defining your Azure environment and then applying your application’s Playbook. No more surprises. Because of its power and flexibility, Ansible ensures your Azure deployments work seamlessly in a hybrid cloud configuration as easily as you build a single system.

Windows, Linux, Services, Networks AND MORE

Azure hosts a lot more than just Windows, and thankfully Ansible automates it all. Ansible has been designed for cloud deployments from the beginning, and Ansible easily allows you to provision a variety of Azure cloud services. Whether you’re building a simple 3-tier application, or a complicated set of virtual private clouds, services, and applications, your Azure environments can be described in Ansible Playbooks, and then scaled out across regions.

Ansible has modules for many different Azure capabilities, including:

  • Virtual Machines
  • Virtual Networks
  • Storage and Storage Accounts
  • Resource Groups
  • Security Groups
  • Resource Manager Templated Deployments

Ansible also has hundreds and hundreds of additional modules that help you manage every aspect of your Linux, Windows, UNIX, network infrastructure, and applications - regardless of where they're deployed.

Automating in Azure at Scale

As your Azure footprint and supporting teams grow, you will realize the need for controls to restrict users’ ability to modify certain environments. The answer is simple: Red Hat® Ansible® Tower gives you an enterprise framework for controlling, securing and managing Ansible automation with a UI and RESTful API.

Ansible Tower helps teams who use Ansible with an extensive set of role-based access controls that ensures users will only have access to the Azure resources (networks, systems, security groups, etc.) that are required for their job. Plus, Ansible Tower encrypts credentials such as Azure and SSH keys so that you can delegate simple automation jobs to junior employees without giving out the (literal) keys to the kingdom.

Get Started

Learn more in our Detailed Guide to Getting Started with Azure Doc.

Try Ansible on Azure with Azure Cloud Shell.

Explore the list of modules for Azure in Ansible Docs.

Contact us for a cloud automation demo.


Azure is a Certified Ansible Automation Partner

View Modules


Video Demo

Simple Azure Provisioning

Video Demo

Ansible Quick Start - Introduction to Ansible

Watch Video