Browse Source

working on changes, and debugging

master
Erin Sims 2 years ago
parent
commit
86f84b9fea
2 changed files with 4 additions and 5 deletions
  1. +1
    -1
      playbooks/sshfs.service.j2
  2. +3
    -4
      playbooks/sshfs.yaml

+ 1
- 1
playbooks/sshfs.service.j2 View File

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


[Service] [Service]
Type=simple 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 Restart=on-failure



+ 3
- 4
playbooks/sshfs.yaml View File

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

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


Loading…
Cancel
Save