Browse Source

working on changes, and debugging

master
Erin Sims 2 years ago
parent
commit
63d0e5e3d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      playbooks/sshfs.yaml

+ 1
- 1
playbooks/sshfs.yaml View File

@@ -58,7 +58,7 @@
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/fstab path: /etc/fstab
regexp: '^sshfs' 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: handlers:
- name: SSHFS - name: SSHFS
ansible.builtin.command: "mount {{ [ localpath,item,'/' ]|join() }}" ansible.builtin.command: "mount {{ [ localpath,item,'/' ]|join() }}"


Loading…
Cancel
Save