Menu

1 / 2

Build and deploy the latest open-vm-tools from source with Ansible and Docker

DEV Community·giulio Savini·6 months ago
#TgscRYg8
#ansible#vmware#devops#linux#build
Reading 0:00
15s threshold

Build and deploy the latest open-vm-tools from source with Ansible and Docker

If you run Linux VMs on VMware, you've probably hit this: your distro ships an open-vm-tools version that's 1-2 years behind upstream. That matters when you need guest OS compatibility fixes for newer ESXi, VMCI socket support, or CVE patches your distro hasn't backported yet.

I built an Ansible role that solves this: vmware-tools-builder — it compiles the latest open-vm-tools inside isolated Docker containers, produces clean .deb / .rpm packages, and deploys them across your entire fleet.

Why not just use the distro package?

Distro package This role

Version Months/years behind Always latest upstream

VMCI socket support Often missing Compiled in

CVE patches Depends on distro backport Upstream fix on release

Multi-distro One at a time Ubuntu, Debian, RHEL, Rocky, Fedora

How it works

The build runs inside Docker containers — one per distro — so your Ansible controller stays clean.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.