From 6b0c09d26275389c493952f8db573cf2a7f68b07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Wed, 22 Jan 2025 09:37:13 +0100
Subject: [PATCH] fix: remove hardcoded 'ro' option for NFS shares; the option
 is set in the Ansible Vault where necessary

---
 tasks/configure_nfs_mounts.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/configure_nfs_mounts.yml b/tasks/configure_nfs_mounts.yml
index 76fd9c3..16535de 100644
--- a/tasks/configure_nfs_mounts.yml
+++ b/tasks/configure_nfs_mounts.yml
@@ -35,6 +35,6 @@
     src: "{{ item.share }}"
     state: "{{ item.state | default('mounted') }}"
     fstype: "nfs"
-    opts: "ro,{{ item.opts | default('ro,defaults,nodev,nosuid,rsize=8192,wsize=8192,vers=3') }}"
+    opts: "{{ item.opts | default('ro,defaults,nodev,nosuid,rsize=8192,wsize=8192,vers=3') }}"
   loop: "{{ vault_permanent_nfs_mounts }}"
   tags: [notest]
-- 
GitLab