fix(svc-storage-nfs-client): make the write probe destination host-unique

All three swarm nodes probed the shared export with the same destination file; ansible's atomic tmp-write + rename raced across NFS clients and failed with 'Destination ... does not exist' (bridgy-fed). A per-host suffix removes the collision by construction.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 4.8 committed 2026-07-09 17:30:36 +02:00
1 parent 192470cf2e
commit da2d660f35
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@
- name: "🔍 Probe-write a marker to confirm the mount is RW"
ansible.builtin.copy:
dest: "{{ SVC_STORAGE_NFS_CLIENT_PROBE_DIR }}/.svc-storage-nfs-client-probe"
dest: "{{ SVC_STORAGE_NFS_CLIENT_PROBE_DIR }}/.svc-storage-nfs-client-probe.{{ inventory_hostname }}"
content: |
probed-by={{ inventory_hostname }}
probed-at={{ ansible_facts.date_time.iso8601 }}