mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Add support for non_local
alias in ansible-test.
This commit is contained in:
parent
934b645191
commit
e241e15899
7 changed files with 13 additions and 3 deletions
|
@ -629,6 +629,12 @@ def integration_environment(args, target, cmd):
|
|||
if args.debug_strategy:
|
||||
env.update(dict(ANSIBLE_STRATEGY='debug'))
|
||||
|
||||
if 'non_local/' in target.aliases:
|
||||
if args.coverage:
|
||||
display.warning('Skipping coverage reporting for non-local test: %s' % target.name)
|
||||
|
||||
env.update(dict(ANSIBLE_TEST_REMOTE_INTERPRETER=''))
|
||||
|
||||
env.update(integration)
|
||||
|
||||
cloud_environment = get_cloud_environment(args, target)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue