This website works better with JavaScript.
首頁
探索
說明
註冊
登入
Thrace-lan.info
/
ansible
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
working on changes, and debugging
master
Erin Sims
2 年之前
父節點
39e03bd44e
當前提交
0b980da34b
共有
1 個文件被更改
,包括
3 次插入
和
15 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-15
playbooks/sshfs.yaml
+ 3
- 15
playbooks/sshfs.yaml
查看文件
@@ -11,22 +11,10 @@
sshfsport: 22000
tasks:
- name: sshfs
a
nsible.builtin.grou
p:
ap
t
:
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/"
Write
Preview
Loading…
取消
儲存