|
|
@@ -49,5 +49,5 @@ |
|
|
|
mode: '0777' |
|
|
|
loop: "{{ share }}" |
|
|
|
- name: "mount {{ item}}" |
|
|
|
ansible.builtin.shell: "/usr/bin/sshfs -o allow_root,allow_other,default_permissions {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}" |
|
|
|
ansible.builtin.shell: "/usr/bin/sshfs -o allow_root,allow_other,default_permissions {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} >> /var/log/sshfs.log" |
|
|
|
loop: "{{ share }}" |