diff --git a/test/integration/inventory b/test/integration/inventory index 1a87fb93c3a..4c2e0d1e86c 100644 --- a/test/integration/inventory +++ b/test/integration/inventory @@ -3,25 +3,3 @@ [testgroup] testhost ansible_connection=local - -[aci:vars] -aci_hostname=your-apic-1 -aci_username=admin -aci_password=your-apic-password -aci_validate_certs=no -aci_use_ssl=yes -aci_use_proxy=no - -[aci] -localhost ansible_ssh_host=127.0.0.1 ansible_connection=local - -[msc:vars] -msc_hostname=your-msc-1 -msc_username=admin -msc_password=your-msc-password -msc_validate_certs=no -msc_use_ssl=yes -msc_use_proxy=no - -[msc] -localhost ansible_ssh_host=127.0.0.1 ansible_connection=local diff --git a/test/integration/inventory.networking.template b/test/integration/inventory.networking.template index 004db954746..e3ef7ab2fde 100644 --- a/test/integration/inventory.networking.template +++ b/test/integration/inventory.networking.template @@ -13,6 +13,27 @@ [@OS] @NAME ansible_connection="local" ansible_host=@HOST ansible_network_os="@OS" ansible_user="@USER" ansible_ssh_private_key_file="@KEY_FILE" +[aci:vars] +aci_hostname=your-apic-1 +aci_username=admin +aci_password=your-apic-password +aci_validate_certs=no +aci_use_ssl=yes +aci_use_proxy=no + +[aci] +localhost ansible_ssh_host=127.0.0.1 ansible_connection=local + +[msc:vars] +msc_hostname=your-msc-1 +msc_username=admin +msc_password=your-msc-password +msc_validate_certs=no +msc_use_ssl=yes +msc_use_proxy=no + +[msc] +localhost ansible_ssh_host=127.0.0.1 ansible_connection=local ### # Example diff --git a/test/runner/lib/classification.py b/test/runner/lib/classification.py index 4356dc2a910..160a797b210 100644 --- a/test/runner/lib/classification.py +++ b/test/runner/lib/classification.py @@ -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',