You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 line
197B

  1. ---
  2. - name: delete ssh host keys
  3. file:
  4. path: "{{item}}"
  5. state: absent
  6. with_fileglob:
  7. - /etc/ssh/ssh_host_*
  8. - name: reconfigure ssh server
  9. shell: dpkg-reconfigure openssh-server