|
@@ -49,6 +49,6 @@ |
|
|
mode: '0777' |
|
|
mode: '0777' |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |
|
|
- name: "mount {{ item}}" |
|
|
- name: "mount {{ item}}" |
|
|
ansible.builtin.command: "/usr/bin/sshfs -o allow_root {{ [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() }}" |
|
|
become_user: sshfs |
|
|
become_user: sshfs |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |