Do not assume the hostkey for the main config exists

This commit is contained in:
Jakub Jelen 2021-06-11 11:07:12 +02:00 committed by Jakub Jelen
parent 8a85e7309b
commit b97a7b0bde

View file

@ -83,7 +83,6 @@
changed_when: false
when:
- __sshd_hostkeys_from_config | from_json == []
- sshd_config_file != "/etc/ssh/sshd_config"
- name: Generate temporary hostkey
command: >