瀏覽代碼

working on changes, and debugging

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

+ 1
- 1
playbooks/sshfs.service.j2 查看文件

@@ -4,6 +4,6 @@ After=network.target sound.target

[Service]
Type=simple
ExecStart=/usr/bin/sshfs -o allow_root "{{ [username,'@',hostname,':',localpath,item'/',' ',remotepath,item'/' ]|join() }}"
ExecStart=/usr/bin/sshfs -p "{{sshfsport }}" -o allow_root "{{ [username,'@',hostname,':',localpath,item'/',' ',remotepath,item'/' ]|join() }}"
Restart=on-failure


+ 3
- 4
playbooks/sshfs.yaml 查看文件

@@ -7,10 +7,9 @@
- 'MOVIES'
localpath: '/mnt/'
remotepath: '/pool/'

hostname: home.thrace-lan.info
username: sshfs
sshfsport: 2200
hostname: home.thrace-lan.info
username: sshfs
sshfsport: 2200
- name: sshfs
ansible.builtin.user:
name: ssfs


Loading…
取消
儲存