From 63d0e5e3d5652babb4c5c05a6a3ddb3ee7de608d Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 1 Oct 2022 05:39:33 -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 3472d12..2f1e2be 100644 --- a/playbooks/sshfs.yaml +++ b/playbooks/sshfs.yaml @@ -58,7 +58,7 @@ ansible.builtin.lineinfile: path: /etc/fstab regexp: '^sshfs' - line: '{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/sshfs/.ssh/sshfs-key,allow_other,reconnect 0 0' + line: "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} fuse.sshfs noauto,x-systemd.automount,_netdev,users,idmap=user,IdentityFile=/home/sshfs/.ssh/sshfs-key,allow_other,reconnect 0 0" handlers: - name: SSHFS ansible.builtin.command: "mount {{ [ localpath,item,'/' ]|join() }}"