Pārlūkot izejas kodu

delete ssh keys with file modules

master
vecāks
revīzija
fd6fd0e191
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +5
    -1
      tasks/regenerate.yml

+ 5
- 1
tasks/regenerate.yml Parādīt failu

@@ -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


Notiek ielāde…
Atcelt
Saglabāt