Try smart umount as a simple solution (no credentials needed).

This commit is contained in:
Andreas B. Mundt 2023-08-19 14:26:58 +02:00
parent fac98e9f09
commit c59fb67ed0
5 changed files with 70 additions and 60 deletions

View file

@ -12,11 +12,11 @@
- name: Configure pam_mount for LMN homes
blockinfile:
dest: /etc/security/pam_mount.conf.xml
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK (mount LMN homes) -->"
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK (mount LMN home) -->"
block: |
<!-- mounts for home, share and nextcloud -->
<!-- mounts for home and nextcloud -->
<volume
fstype="lmn"
fstype="cifs"
server="{{ smb_server }}"
path="{{ smb_share }}"
mountpoint="/srv/samba/schools/default-school"