diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index 8375bec..bdaa5b8 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -38,5 +38,5 @@ mode: '0777' loop: "{{ share }}" - name: "mount {{ item}}" - ansible.builtin.shell: "/usr/bin/sshfs -o reconnect,allow_root,allow_other,_netdev {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" + ansible.builtin.shell: "/usr/bin/sshfs -o reconnect,allow_root,allow_other,_netdev,strictHostKeyChecking=no {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" loop: "{{ share }}"