|
@@ -24,14 +24,14 @@ |
|
|
- name: setup service sshfs |
|
|
- name: setup service sshfs |
|
|
template: |
|
|
template: |
|
|
src: sshfs.service.j2 |
|
|
src: sshfs.service.j2 |
|
|
dest: "/usr/lib/systemd/system/sshfs{{ item }}.service" |
|
|
|
|
|
|
|
|
dest: "/usr/lib/systemd/system/sshfs-{{ item }}.service" |
|
|
mode: 0644 |
|
|
mode: 0644 |
|
|
owner: root |
|
|
owner: root |
|
|
group: root |
|
|
group: root |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |
|
|
- name: "Sshfs {{ item }} service start" |
|
|
- name: "Sshfs {{ item }} service start" |
|
|
systemd: |
|
|
systemd: |
|
|
name: "sshfs{{ item }}" |
|
|
|
|
|
|
|
|
name: "sshfs-{{ item }}" |
|
|
state: started |
|
|
state: started |
|
|
enabled: yes |
|
|
enabled: yes |
|
|
masked: no |
|
|
masked: no |
|
|