|
@@ -33,8 +33,8 @@ |
|
|
owner: sshfs |
|
|
owner: sshfs |
|
|
group: sshfs |
|
|
group: sshfs |
|
|
mode: '0700' |
|
|
mode: '0700' |
|
|
notify: |
|
|
|
|
|
- name: SSHFS |
|
|
|
|
|
|
|
|
notify: |
|
|
|
|
|
- name: SSHFS |
|
|
- name: copy ssh config |
|
|
- name: copy ssh config |
|
|
copy: |
|
|
copy: |
|
|
src: "./ssh-config" |
|
|
src: "./ssh-config" |
|
@@ -42,7 +42,7 @@ |
|
|
owner: sshfs |
|
|
owner: sshfs |
|
|
group: sshfs |
|
|
group: sshfs |
|
|
mode: '0700' |
|
|
mode: '0700' |
|
|
notify: |
|
|
|
|
|
|
|
|
notify: |
|
|
- name: SSHFS |
|
|
- name: SSHFS |
|
|
- name: "sshfs mount {{ item }}" |
|
|
- name: "sshfs mount {{ item }}" |
|
|
file: |
|
|
file: |
|
@@ -52,7 +52,7 @@ |
|
|
group: root |
|
|
group: root |
|
|
mode: '0777' |
|
|
mode: '0777' |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |
|
|
notify: |
|
|
|
|
|
|
|
|
notify: |
|
|
- name: SSHFS |
|
|
- name: SSHFS |
|
|
- name: setup service sshfs |
|
|
- name: setup service sshfs |
|
|
template: |
|
|
template: |
|
@@ -62,8 +62,8 @@ |
|
|
owner: root |
|
|
owner: root |
|
|
group: root |
|
|
group: root |
|
|
loop: "{{ share }}" |
|
|
loop: "{{ share }}" |
|
|
notify: |
|
|
|
|
|
- name: SSHFS |
|
|
|
|
|
|
|
|
notify: |
|
|
|
|
|
- name: SSHFS |
|
|
- name: "sshfs {{ item }} service start" |
|
|
- name: "sshfs {{ item }} service start" |
|
|
systemd: |
|
|
systemd: |
|
|
name: "sshfs-{{ item }}" |
|
|
name: "sshfs-{{ item }}" |
|
|