diff --git a/tasks/preflight-checks.yml b/tasks/preflight-checks.yml index c874cd0..aae429b 100644 --- a/tasks/preflight-checks.yml +++ b/tasks/preflight-checks.yml @@ -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"