mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-09 18:51:29 -07:00
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:
parent
d1d08304f9
commit
adc0efe10c
1 changed files with 1 additions and 2 deletions
|
@ -115,12 +115,11 @@ class AnsibleCoreCI(object):
|
||||||
region = 'us-east-1'
|
region = 'us-east-1'
|
||||||
|
|
||||||
self.endpoints = AWS_ENDPOINTS[region],
|
self.endpoints = AWS_ENDPOINTS[region],
|
||||||
|
self.ssh_key = SshKey(args)
|
||||||
|
|
||||||
if self.platform == 'windows':
|
if self.platform == 'windows':
|
||||||
self.ssh_key = None
|
|
||||||
self.port = 5986
|
self.port = 5986
|
||||||
else:
|
else:
|
||||||
self.ssh_key = SshKey(args)
|
|
||||||
self.port = 22
|
self.port = 22
|
||||||
elif self.provider == 'parallels':
|
elif self.provider == 'parallels':
|
||||||
self.endpoints = self._get_parallels_endpoints()
|
self.endpoints = self._get_parallels_endpoints()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue