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:
Jordan Borean 2018-08-09 18:00:22 +10:00 committed by Matt Clay
parent a40241f99b
commit c46d799dc5

View file

@ -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()