mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
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:
1 parent
192470cf2e
commit
da2d660f35
1 file changed
+1
-1
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user