|
@@ -29,16 +29,16 @@ |
|
|
- name: copy private key |
|
|
- name: copy private key |
|
|
copy: |
|
|
copy: |
|
|
src: "./sshfs-key" |
|
|
src: "./sshfs-key" |
|
|
dest: "/home/sshfs/.ssh/" |
|
|
|
|
|
owner: sshfs |
|
|
|
|
|
group: sshfs |
|
|
|
|
|
|
|
|
dest: "/root/.ssh/" |
|
|
|
|
|
owner: root |
|
|
|
|
|
group: root |
|
|
mode: '0700' |
|
|
mode: '0700' |
|
|
- name: copy ssh config |
|
|
- name: copy ssh config |
|
|
copy: |
|
|
copy: |
|
|
src: "./ssh-config" |
|
|
src: "./ssh-config" |
|
|
dest: "/home/sshfs/.ssh/config" |
|
|
|
|
|
owner: sshfs |
|
|
|
|
|
group: sshfs |
|
|
|
|
|
|
|
|
dest: "/root/.ssh/config" |
|
|
|
|
|
owner: root |
|
|
|
|
|
group: root |
|
|
mode: '0700' |
|
|
mode: '0700' |
|
|
- name: "sshfs mount {{ item }}" |
|
|
- name: "sshfs mount {{ item }}" |
|
|
file: |
|
|
file: |
|
|