mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix ansible-test selection of inventory file.
This commit is contained in:
parent
8dcec1b659
commit
2192c1eb02
1 changed files with 2 additions and 2 deletions
|
@ -550,11 +550,11 @@ def command_integration_role(args, target, start_at_task):
|
|||
|
||||
vars_file = 'integration_config.yml'
|
||||
|
||||
if 'windows/' in target.aliases:
|
||||
if isinstance(args, WindowsIntegrationConfig):
|
||||
inventory = 'inventory.winrm'
|
||||
hosts = 'windows'
|
||||
gather_facts = False
|
||||
elif 'network/' in target.aliases:
|
||||
elif isinstance(args, NetworkIntegrationConfig):
|
||||
inventory = 'inventory.networking'
|
||||
hosts = target.name[:target.name.find('_')]
|
||||
gather_facts = False
|
||||
|
|
Loading…
Reference in a new issue