|
@@ -54,8 +54,8 @@ |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |
|
|
notify: |
|
|
notify: |
|
|
- SSHFS |
|
|
- SSHFS |
|
|
- name: "mount {{ item}}" |
|
|
|
|
|
ansible.builtin.command: /usr/bin/sshfs "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} -o IdentityFile=/home/sshfs/.ssh/sshfs-key,allow_other,reconnect" |
|
|
|
|
|
|
|
|
- name: "mount {{ item}}" |
|
|
|
|
|
ansible.builtin.command: /usr/bin/sshfs "{{ [username,'@',hostname,':',remotepath,item,'/',' ',localpath,item,'/' ]|join() }} -o IdentityFile=/home/sshfs/.ssh/sshfs-key,allow_other,reconnect" |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |
|
|
handlers: |
|
|
handlers: |
|
|
- name: SSHFS |
|
|
- name: SSHFS |
|
|