From fdc28ae4a65d9609c1b20631967b0bd7cff39ebb Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 9 Dec 2025 19:26:38 +0100 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Ensure=20snippets=20stora?= =?UTF-8?q?ge=20is=20enabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit updates the preflight task to correctly enable the 'snippets' storage in /etc/pve/storage.cfg. The change uses a more robust regular expression to handle potential variations in the storage configuration, ensuring the snippets feature is properly activated. --- tasks/testing.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/testing.yml b/tasks/testing.yml index f5be8cf..4cbb32c 100644 --- a/tasks/testing.yml +++ b/tasks/testing.yml @@ -10,13 +10,13 @@ state: present update_cache: yes - - name: "[PREFLIGHT] Ensure 'snippets' is enabled for {{ proxmox_snippets_storage }}" ansible.builtin.replace: path: /etc/pve/storage.cfg - regexp: '(dir:\s*{{ proxmox_snippets_storage }}[\s\S]*?content\s+)(.*)(?