mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Test Windows 2012+ using Azure by default.
This commit is contained in:
parent
7fa09390b0
commit
3b0dcf7f29
1 changed files with 8 additions and 0 deletions
|
@ -73,6 +73,9 @@ class AnsibleCoreCI(object):
|
|||
azure=(
|
||||
'azure',
|
||||
'rhel',
|
||||
'windows/2012',
|
||||
'windows/2012-R2',
|
||||
'windows/2016',
|
||||
),
|
||||
parallels=(
|
||||
'osx',
|
||||
|
@ -88,6 +91,11 @@ class AnsibleCoreCI(object):
|
|||
# assign default provider based on platform
|
||||
self.provider = candidate
|
||||
break
|
||||
for candidate in providers:
|
||||
if '%s/%s' % (platform, version) in providers[candidate]:
|
||||
# assign default provider based on platform and version
|
||||
self.provider = candidate
|
||||
break
|
||||
|
||||
if self.provider in ('aws', 'azure'):
|
||||
if self.provider != 'aws':
|
||||
|
|
Loading…
Reference in a new issue