From 41ba73d7c36cf791e372cc212c8587db3bcdd607 Mon Sep 17 00:00:00 2001 From: June <june@jsts.xyz> Date: Sun, 23 Feb 2025 23:26:36 +0100 Subject: [PATCH] dep._hyperv.(playb.): add deps step to vm template generation setup play --- playbooks/deploy_hypervisor.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/deploy_hypervisor.yaml b/playbooks/deploy_hypervisor.yaml index 0739d35..4d3200f 100644 --- a/playbooks/deploy_hypervisor.yaml +++ b/playbooks/deploy_hypervisor.yaml @@ -1,6 +1,13 @@ - name: Ensure the VM template generation is set up hosts: proxmox_vm_template_hosts tasks: + - name: Ensure dependencies are present + ansible.builtin.apt: + name: + - git + - libguestfs-tools + become: true + - name: Ensure /usr/local/{lib,sbin} exist ansible.builtin.file: path: "{{ item }}"