浏览代码

working on changes, and debugging

master
Erin Sims 2 年前
父节点
当前提交
0b980da34b
共有 1 个文件被更改,包括 3 次插入15 次删除
  1. +3
    -15
      playbooks/sshfs.yaml

+ 3
- 15
playbooks/sshfs.yaml 查看文件

@@ -11,22 +11,10 @@
sshfsport: 22000
tasks:
- name: sshfs
ansible.builtin.group:
apt:
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:
src: "./sshfs-key"
dest: "/root/.ssh/"


正在加载...
取消
保存