From a403f04500ecb133ec1774f938f7d8e99615857c Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 6 Dec 2025 09:17:45 +0100 Subject: [PATCH] fix: update regex for Proxmox storage configuration to ensure 'snippets' is included --- tasks/preflight-checks.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasks/preflight-checks.yml b/tasks/preflight-checks.yml index 5d98fd9..5856322 100644 --- a/tasks/preflight-checks.yml +++ b/tasks/preflight-checks.yml @@ -163,11 +163,10 @@ ansible.builtin.lineinfile: path: /etc/pve/storage.cfg insertafter: "^dir: {{ proxmox_snippets_storage }}$" - regexp: '^(\\s*content\\s+)(.*)(?,snippets' backrefs: yes - become: true - + - name: "[PREFLIGHT] Ensure snippets storage directory exists" ansible.builtin.file: path: "{{ proxmox_snippets_storage_path }}/snippets"