diff --git a/test/runner/lib/classification.py b/test/runner/lib/classification.py index a7b21f648d1..ad5bd530f51 100644 --- a/test/runner/lib/classification.py +++ b/test/runner/lib/classification.py @@ -404,6 +404,24 @@ class PathMapper(object): if filename == 'platform_agnostic.yaml': return minimal # network integration test playbook not used by ansible-test + for command in ( + 'integration', + 'windows-integration', + 'network-integration', + ): + if name == command: + return { + command: self.integration_all_target, + } + + if name.startswith('cloud-config-'): + cloud_target = 'cloud/%s/' % name.split('-')[2].split('.')[0] + + if cloud_target in self.integration_targets_by_alias: + return { + 'integration': cloud_target, + } + return { 'integration': self.integration_all_target, 'windows-integration': self.integration_all_target,