diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index d7211f5..122d63c 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -49,5 +49,5 @@ mode: '0777' loop: "{{ share }}" - name: "mount {{ item}}" - ansible.builtin.shell: "/usr/bin/sshfs -v -o allow_root,allow_other,default_permissions {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" + ansible.builtin.shell: "/usr/bin/sshfs -v -o reconnect,allow_root,allow_other,default_permissions {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" loop: "{{ share }}"