Merge pull request #1380 from kevinveenbirkenbach/fix/svc-storage-nfs-server/backup-mountpoint-race

fix(svc-storage-nfs-server): pre-create the backup mount point in the shared state
This commit is contained in:
kevinveenbirkenbach authored and GitHub committed 2026-11-05 12:47:27 +01:00
commit 0e29f7aa32
1 file changed
+8
@@ -18,6 +18,14 @@
group: root
mode: "0755"
- name: "📁 Pre-create the {{ DIR_BACKUPS }} mount point in the shared state, so no two clients create it at once"
ansible.builtin.file:
path: "{{ [STORAGE_NFS_STATE_PATH, DIR_BACKUPS | relpath(DIR_VAR_LIB)] | path_join }}"
state: directory
owner: root
group: root
mode: "0755"
- name: "✅ Assert the state subdir is strictly nested under the export base"
ansible.builtin.assert:
that: