From 01c8d9d896fba93520feecefb79bec04d1f1d534 Mon Sep 17 00:00:00 2001
From: Alexander Dahl <alex@netz39.de>
Date: Fri, 22 Jul 2022 21:46:12 +0200
Subject: [PATCH] main: Install qemu-guest-agent on proxmox VMs

proxmox UI can show more VM specific information if qemu-guest-agent is
installed in guest VMs.
---
 main.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/main.yml b/main.yml
index e33808c..b6908db 100644
--- a/main.yml
+++ b/main.yml
@@ -35,6 +35,16 @@
       include_role:
         name: users
 
+- hosts: proxmox
+  become: true
+
+  tasks:
+
+    - name: Ensure qemu guest agent is installed on proxmox VMs
+      ansible.builtin.apt:
+        pkg: qemu-guest-agent
+        state: present
+
 - name: Tau specific setup
   import_playbook: tau.yml