diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index fb0e461..2b7d3b3 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -59,6 +59,7 @@ path: /etc/fstab regexp: '^sshfs' line: "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/sshfs/.ssh/sshfs-key,allow_other,reconnect 0 0" + loop: "{{ share }}" handlers: - name: SSHFS ansible.builtin.command: "mount {{ [ localpath,item,'/' ]|join() }}"