From 38d30dca271327acb4be5381e763ed0df0dddd58 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 6 Dec 2025 09:34:58 +0100 Subject: [PATCH] fix: update snippet enabling logic for Proxmox storage configuration --- tasks/preflight-checks.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tasks/preflight-checks.yml b/tasks/preflight-checks.yml index 62c4234..49f564f 100644 --- a/tasks/preflight-checks.yml +++ b/tasks/preflight-checks.yml @@ -160,13 +160,10 @@ - name: "[PREFLIGHT] Ensure Proxmox storage supports snippets" block: - name: "[PREFLIGHT] Ensure 'snippets' is enabled for {{ proxmox_snippets_storage }}" - ansible.builtin.lineinfile: + ansible.builtin.replace: path: /etc/pve/storage.cfg - regexp: '^(\s*content\s+.*)(?