mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-24 20:10:20 +01:00
Do not assume the hostkey for the main config exists
This commit is contained in:
parent
8a85e7309b
commit
b97a7b0bde
1 changed files with 0 additions and 1 deletions
|
@ -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: >
|
||||
|
|
Loading…
Reference in a new issue