This website works better with JavaScript.
首頁
探索
說明
註冊
登入
ka
/
ansible-role-ssh_host_key
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
delete ssh keys with file modules
master
Markus Katharina Brechtel
7 年之前
父節點
5b78429d3c
當前提交
fd6fd0e191
共有
1 個文件被更改
,包括
5 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
tasks/regenerate.yml
+ 5
- 1
tasks/regenerate.yml
查看文件
@@ -1,7 +1,11 @@
---
- name: delete ssh host keys
shell: rm /etc/ssh/ssh_host_*
file:
path: "{{item}}"
state: absent
with_fileglob:
- /etc/ssh/ssh_host_*
register: _ssh_host_keys_delete
- name: reconfigure ssh server
Write
Preview
Loading…
取消
儲存