Member-only story

Install Docker in Windows-like systems — Ansible module win_chocolatey

How to automate the installation of the latest version of Docker Desktop in your Windows-like system with Ansible Playbook and Chocolatey.

Luca Berton
4 min readJan 26, 2022

How to Install Docker in Windows-like systems with Ansible?

Today I’m going to reveal how to install the software in a Windows-managed host using Chocolatey Package Manager.

I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

Ansible module win_chocolatey

  • chocolatey.chocolatey.win_chocolatey
  • Manage packages using chocolatey

Chocolatey is the package manager for windows, it has the largest online registry of Windows packages.

At the moment it contains nearly 9000 Community Maintained Packages.

Today we’re talking about Ansible module win_chocolatey to automate the software installation process.

The full name is chocolatey.chocolatey.win_chocolatey, which means that is part of the collection distributed by “chocolatey”.

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet