This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-ssh_host_key
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
delete ssh keys with file modules
master
Markus Katharina Brechtel
7 years ago
parent
5b78429d3c
commit
fd6fd0e191
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
tasks/regenerate.yml
+ 5
- 1
tasks/regenerate.yml
View File
@@ -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…
Cancel
Save