How to connect to Microsoft Azure or AWS virtual machines and to install softwares through Ansible playbook script

Bryant Jimin Son
4 min readSep 24, 2022
Learn how you can leverage Ansible to configure or install softwares on Windows based virtual machines

In this blog, I will explain how you can leverage a popular configuration management tool called Ansible to copy files from your local computer to a remote Windows Virtual Machine then to download software and to install softwares through chocolatey. But before getting started, for those who are completely new to Ansible, I will give a little introduction to this tool.

What is Ansible?

Ansible is a suite of software tools that enables infrastructure as code. It is open-source and the suite includes software provisioning, configuration management, and application deployment functionality. Although it is an open source, it is maintained by Red Hat.

There are many configuration management tools out there, such as Terraform, AWS CloudFormation, Puppet, SaltStack, and Chef, but Ansible is definitely a popular one.

Unlike some other configuration management tools like Chef, Ansible is agent-less. What this means is that you just need to provide the way to connect through SSH or RDP to install software through Ansible playbook scripts or Ansible ad-hoc commands.

Why would I want to do this?

--

--

Bryant Jimin Son
Bryant Jimin Son

Written by Bryant Jimin Son

A cloud practitioner talking about technology, travels & career tips. But I will sometimes cover financial advises and some random stuffs.

No responses yet