@@ -80,8 +80,6 @@ def test_backup_ssh_server_configuration(host):
with host.sudo():
ansible_facts = host.ansible("setup")["ansible_facts"]
config_file = host.file('/etc/ssh-backup/sshd_config')
assert config_file.is_file
@@ -98,8 +96,6 @@ def test_backup_ssh_server_configuration(host):
assert "HostKey /etc/ssh-backup/ssh_host_rsa_key" in config_file.content
assert "HostKey /etc/ssh-backup/ssh_host_ecdsa_key" in config_file.content
assert "HostKey /etc/ssh-backup/ssh_host_ed25519_key" in config_file.content
if ansible_facts['ansible_distribution_release'] == 'jessie':
assert "HostKey /etc/ssh-backup/ssh_host_dsa_key" in config_file.content
def test_backup_ssh_server_keys(host):