瀏覽代碼

working on changes, and debugging

master
Erin Sims 2 年之前
父節點
當前提交
712ee56b1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      playbooks/sshfs.yaml

+ 1
- 1
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() }}"


Loading…
取消
儲存