From 1ffc51618cd194bc8d87a927862efbafef8c3b05 Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 1 Oct 2022 06:17:55 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/sshfs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/sshfs.yaml b/playbooks/sshfs.yaml index 989169b..e21c268 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -49,6 +49,6 @@ mode: '0777' loop: "{{ share }}" - 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 loop: "{{ share }}"