ansible-test: Create public key creating Windows targets (#43760)
* ansible-test: Create public key creating Windows targets
* Changed to always set SSH Key for Windows hosts
(cherry picked from commit adc0efe10c
)
This commit is contained in:
parent
a40241f99b
commit
c46d799dc5
1 changed files with 1 additions and 2 deletions
|
@ -118,12 +118,11 @@ class AnsibleCoreCI(object):
|
|||
|
||||
self.path = "%s-%s" % (self.path, region)
|
||||
self.endpoints = AWS_ENDPOINTS[region],
|
||||
self.ssh_key = SshKey(args)
|
||||
|
||||
if self.platform == 'windows':
|
||||
self.ssh_key = None
|
||||
self.port = 5986
|
||||
else:
|
||||
self.ssh_key = SshKey(args)
|
||||
self.port = 22
|
||||
elif self.provider == 'parallels':
|
||||
self.endpoints = self._get_parallels_endpoints()
|
||||
|
|
Loading…
Reference in a new issue