mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Add --raw option to ansible-test shell command.
It is currently supported only with the `--remote` option. This makes it easier to troubleshoot new instances which are not yet supported by the setup scripts used by ansible-test.
This commit is contained in:
@@ -24,6 +24,10 @@ from lib.ansible_util import (
|
||||
ansible_environment,
|
||||
)
|
||||
|
||||
from lib.config import (
|
||||
ShellConfig,
|
||||
)
|
||||
|
||||
|
||||
class ManageWindowsCI(object):
|
||||
"""Manage access to a Windows instance provided by Ansible Core CI."""
|
||||
@@ -203,6 +207,11 @@ class ManagePosixCI(object):
|
||||
def setup(self):
|
||||
"""Start instance and wait for it to become ready and respond to an ansible ping."""
|
||||
self.wait()
|
||||
|
||||
if isinstance(self.core_ci.args, ShellConfig):
|
||||
if self.core_ci.args.raw:
|
||||
return
|
||||
|
||||
self.configure()
|
||||
self.upload_source()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user