Part 1Installing Ansible on CentOS 7.7Create an Azure Service Principal that we will use to allow Ansible to authenticate to Azure via Dynamic Inventories.Set up a basic Azure Dynamic Inventory filtering on "include_vm_resource_groups" to test pinging a VM as well as find out the name Ansible uses to refer to this Virtual Machine in order to capture Ansible hostvars.Capture … [Read more...] about Ansible Dynamic Inventories in Azure – Part 4
Ansible
Ansible Dynamic Inventories in Azure – Part 3
Part 1Installing Ansible on CentOS 7.7Create an Azure Service Principal that we will use to allow Ansible to authenticate to Azure via Dynamic Inventories.Set up a basic Azure Dynamic Inventory filtering on "include_vm_resource_groups" to test pinging a VM as well as find out the name Ansible uses to refer to this Virtual Machine in order to capture Ansible … [Read more...] about Ansible Dynamic Inventories in Azure – Part 3
Ansible Dynamic Inventories in Azure – Part 2
Part 1Installing Ansible on CentOS 7.7Create an Azure Service Principal that we will use to allow Ansible to authenticate to Azure via Dynamic Inventories.Set up a basic Azure Dynamic Inventory filtering on "include_vm_resource_groups" to test pinging a VM as well as find out the name Ansible uses to refer to this Virtual Machine in order to capture Ansible hostvars.Capture … [Read more...] about Ansible Dynamic Inventories in Azure – Part 2
Ansible Dynamic Inventories in Azure – Part 1
OverviewIn Ansible, there is a static inventory and a dynamic inventory. In a cloud world, it is often the case that Virtual Machines are spinning up and down in response to business demands. In this case, static inventories that list the IP Addresses and/or host names will not serve the needs of your business. Dynamic inventories are the solution to this problem. … [Read more...] about Ansible Dynamic Inventories in Azure – Part 1