From 1a0af3b6e68443dbd8e34d7956d412f0cf0f8a75 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 6 Dec 2025 08:44:42 +0100 Subject: [PATCH] fix: refine content extraction for Proxmox snippets storage configuration --- tasks/preflight-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/preflight-checks.yml b/tasks/preflight-checks.yml index 16e5dfb..9396e7f 100644 --- a/tasks/preflight-checks.yml +++ b/tasks/preflight-checks.yml @@ -171,7 +171,7 @@ - name: "[PREFLIGHT] Get current content list of the target storage" ansible.builtin.shell: > awk '/^dir: {{ proxmox_snippets_storage }}/,/^$/' /etc/pve/storage.cfg | - awk '/content/ {print $3}' + awk '/content/ {sub(/^content[[:space:]]*/, ""); print}' register: current_content changed_when: false