Add task to ensure snippets storage directory exists

This commit is contained in:
2025-12-02 20:56:42 +01:00
parent 2065aa314a
commit 12fdeae514

View File

@@ -133,6 +133,12 @@
loop: "{{ dns }}"
when: dns is defined and dns | length > 0
- name: "[PREFLIGHT] Ensure snippets storage exists"
ansible.builtin.file:
path: "/var/lib/vz/snippets"
state: directory
mode: "0755"
- name: "[PREFLIGHT] Check snippets storage exists"
ansible.builtin.stat:
path: "/var/lib/vz/snippets"