diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index dcdc090..21cf5f5 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -55,7 +55,7 @@ notify: - SSHFS - name: "mount {{ item}}" - ansible.builtin.command: /usr/bin/sshfs "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} -o IdentityFile=/home/sshfs/.ssh/sshfs-key,allow_other,reconnect" + ansible.builtin.command: /usr/bin/sshfs "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" loop: "{{ share }}" handlers: - name: SSHFS