mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add support ssh configs from /etc/openssh.
In Altlinux system config dir for openssh is /etc/openssh.
This commit is contained in:
@@ -536,6 +536,8 @@ class Facts(object):
|
||||
keydir = '/etc/ssh'
|
||||
else:
|
||||
keydir = '/etc'
|
||||
if self.facts['distribution'] == 'Altlinux':
|
||||
keydir = '/etc/openssh'
|
||||
else:
|
||||
keydir = '/etc/ssh'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user