Build an IBM MQ Server VM with Terraform and Ansible on Proxmox

In this post I’ll walk through how I fully automated the provisioning of an IBM MQ server on my Proxmox homelab using Terraform and Ansible. With a single terraform apply, the entire stack builds itself — VM creation, OS configuration, IBM MQ installation, queue manager setup, and systemd service registration. Architecture Overview homelab02 (Terraform + Ansible host) │ │ terraform apply ▼ Proxmox API (192.168.1.14:8006) │ ├── ① Clone Ubuntu 24.04 template ├── ② Apply cloud-init (kernel params, qemu-agent) ├── ③ Wait for VM ready └── ④ Run Ansible → IBM MQ install + QM1 config Tools used: ...

May 24, 2026 · 9 min · 1823 words · Indunil Sandaruwan Thembuwana