Search⌘ K
AI Features

Deploy to Azure

Explore how to deploy an Ansible development environment on Azure by using playbooks to create and manage resource groups, virtual networks, and Windows and Linux virtual machines. Understand the key Azure modules and how to sequence dependent tasks to automate infrastructure setup efficiently.

Ansible environment

The Ansible development environment in Azure will comprise the following:

  • Windows Server 2019 virtual machine
  • Linux virtual machine running CentOS

Each virtual machine in Azure requires several Azure resources, and each of these resources is managed by different Ansible Modules.

Ansible Modules

The following are the required Azure resources and the corresponding Ansible Modules:

Azure Resource Azure Module
Resource Group azure_rm_resourcegroup
Virtual Network azure_rm_virtualnetwork
Subnet azure_rm_subnet
Public IP Address azure_rm_publicipaddress
Network Security Group azure_rm_securitygroup
Network Interface Card azure_rm_networkinterface
Custom Script Extension azure_rm_virtualmachineextension
...