tests: For Fedora containers, make sure the sshd host keys exist

This commit is contained in:
Jakub Jelen 2020-11-06 09:47:43 +01:00
parent ff04f6ff89
commit 242058a10b
2 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,9 @@
include_role:
name: ansible-sshd
vars:
# For Fedora containers, we need to make sure we have keys for sshd -T below
sshd_verify_hostkeys:
- /etc/ssh/ssh_host_rsa_key
sshd:
Match:
- Condition: "User xusers"

View file

@ -5,6 +5,9 @@
include_role:
name: ansible-sshd
vars:
# For Fedora containers, we need to make sure we have keys for sshd -T below
sshd_verify_hostkeys:
- /etc/ssh/ssh_host_rsa_key
sshd:
Match:
- Condition: "User xusers"