install qemu guest agent if is_vm var is set to true

This commit is contained in:
Micha Gläß-Stöcker 2022-10-06 09:29:00 +02:00
parent ff89f43c0f
commit 378f74ed4a

View file

@ -22,3 +22,9 @@
- iotop
- lshw
- slurm
- name: Install qemu-guest-agent if host is qemu-based virtual machine
apt:
name: qemu-guest-agent
state: present
when: is_vm | default('False') == True