Browse Source

working on changes, and debugging

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

+ 3
- 15
playbooks/sshfs.yaml View File

@@ -11,22 +11,10 @@
sshfsport: 22000 sshfsport: 22000
tasks: tasks:
- name: sshfs - name: sshfs
ansible.builtin.group:
apt:
name: sshfs name: sshfs
state: present
- name: sshfs
ansible.builtin.user:
name: sshfs
state: present
group: sshfs
- name: make ssh home directory
file:
path: "/home/sshfs/.ssh/"
state: directory
owner: sshfs
group: sshfs
mode: '0700'
- name: copy private key
state: latest
- name: copy private key
copy: copy:
src: "./sshfs-key" src: "./sshfs-key"
dest: "/root/.ssh/" dest: "/root/.ssh/"


Loading…
Cancel
Save