File diff 9c0b92a5d2c6 → 6d46b300aa0b
roles/backup_server/molecule/default/tests/test_default.py
Show inline comments
 
@@ -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):