Browse Source

working on changes, and debugging

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

+ 3
- 1
playbooks/sshfs.yaml View File

@@ -49,5 +49,7 @@
mode: '0777'
loop: "{{ share }}"
- name: "mount {{ item}}"
ansible.builtin.shell: "/usr/bin/sshfs -o allow_root,allow_other,default_permissions {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} >> /var/log/sshfs.log"
ansible.builtin.shell: "/usr/bin/sshfs -o allow_root,allow_other,default_permissions {{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }}"
become: yes
become_user: sshfs
loop: "{{ share }}"

Loading…
Cancel
Save