diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index d904b8f..56cdb16 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -50,6 +50,4 @@ 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() }}" - become: yes - become_user: sshfs loop: "{{ share }}"