Further cleanup of integration test inventory. (#50919)

* Further cleanup of integration test inventory.
* Preserve aci and msc inventory in template.
* Update ansible-test inventory template handling.
* Fix classification of inventory file.
This commit is contained in:
Matt Clay
2019-01-15 16:42:49 -08:00
committed by GitHub
parent 9e003d702f
commit 4d546398fd
3 changed files with 29 additions and 22 deletions

View File

@@ -635,6 +635,14 @@ class PathMapper(object):
if filename == 'platform_agnostic.yaml':
return minimal # network integration test playbook not used by ansible-test
if filename.startswith('inventory.') and filename.endswith('.template'):
return minimal # ansible-test does not use these inventory templates
if filename == 'inventory':
return {
'integration': self.integration_all_target,
}
for command in (
'integration',
'windows-integration',