From 7f07b49134ff9417273dc1db1c1f8bd8335ceaf5 Mon Sep 17 00:00:00 2001 From: June <june@jsts.xyz> Date: Sun, 23 Feb 2025 23:24:45 +0100 Subject: [PATCH] deploy_hypervisor(playb.): add deps step to vm template generation 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 }}"