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
This commit is contained in:
Jordan Borean 2018-08-09 18:00:22 +10:00 committed by GitHub
parent d1d08304f9
commit adc0efe10c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,12 +115,11 @@ class AnsibleCoreCI(object):
region = 'us-east-1'
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()